summaryrefslogtreecommitdiff
path: root/src/common/showmsg.c
diff options
context:
space:
mode:
authorbrianluau <brianluau@54d463be-8e91-2dee-dedb-b68131a5f0ec>2012-01-30 16:02:55 +0000
committerbrianluau <brianluau@54d463be-8e91-2dee-dedb-b68131a5f0ec>2012-01-30 16:02:55 +0000
commitf17c3bc02c9e82147fb471132940e84d227ec4bc (patch)
treec7623d4aefa26cb8ae461b63c1efed99d8c99adf /src/common/showmsg.c
parentfa2020be43ddc026460896a3bb8b1d0f425265b2 (diff)
downloadhercules-f17c3bc02c9e82147fb471132940e84d227ec4bc.tar.gz
hercules-f17c3bc02c9e82147fb471132940e84d227ec4bc.tar.bz2
hercules-f17c3bc02c9e82147fb471132940e84d227ec4bc.tar.xz
hercules-f17c3bc02c9e82147fb471132940e84d227ec4bc.zip
- Removed trailing tabs, and fixed some spacing.
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@15524 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/common/showmsg.c')
-rw-r--r--src/common/showmsg.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/common/showmsg.c b/src/common/showmsg.c
index 8492d6db7..102557df7 100644
--- a/src/common/showmsg.c
+++ b/src/common/showmsg.c
@@ -243,7 +243,7 @@ int VFPRINTF(HANDLE handle, const char *fmt, va_list argptr)
memset(numbers,0,sizeof(numbers));
// skip escape and bracket
- q=q+2;
+ q=q+2;
for(;;)
{
if( ISDIGIT(*q) )
@@ -358,11 +358,11 @@ int VFPRINTF(HANDLE handle, const char *fmt, va_list argptr)
COORD origin = {0,0};
if(num==1)
{ // chars from start up to and including cursor
- cnt = info.dwSize.X * info.dwCursorPosition.Y + info.dwCursorPosition.X + 1;
+ cnt = info.dwSize.X * info.dwCursorPosition.Y + info.dwCursorPosition.X + 1;
}
else if(num==2)
{ // Number of chars on screen.
- cnt = info.dwSize.X * info.dwSize.Y;
+ cnt = info.dwSize.X * info.dwSize.Y;
SetConsoleCursorPosition(handle, origin);
}
else// 0 and default
@@ -565,7 +565,7 @@ int VFPRINTF(FILE *file, const char *fmt, va_list argptr)
// assuming regular text is starting there
// skip escape and bracket
- q=q+2;
+ q=q+2;
while(1)
{
if( ISDIGIT(*q) )