From 9fbf9932e874845247f285e5c1c4f6c15b4cea58 Mon Sep 17 00:00:00 2001 From: brianluau Date: Mon, 30 Jan 2012 20:17:55 +0000 Subject: - Removed more trailing tabs. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@15527 54d463be-8e91-2dee-dedb-b68131a5f0ec --- src/common/showmsg.c | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) (limited to 'src/common/showmsg.c') diff --git a/src/common/showmsg.c b/src/common/showmsg.c index 102557df7..7a6f632e7 100644 --- a/src/common/showmsg.c +++ b/src/common/showmsg.c @@ -197,7 +197,7 @@ Escape sequences for Select Character Set int VFPRINTF(HANDLE handle, const char *fmt, va_list argptr) { ///////////////////////////////////////////////////////////////// - /* XXX Two streams are being used. Disabled to avoid inconsistency [flaviojs] + /* XXX Two streams are being used. Disabled to avoid inconsistency [flaviojs] static COORD saveposition = {0,0}; */ @@ -369,7 +369,7 @@ int VFPRINTF(HANDLE handle, const char *fmt, va_list argptr) { // number of chars from cursor to end origin = info.dwCursorPosition; cnt = info.dwSize.X * (info.dwSize.Y - info.dwCursorPosition.Y) - info.dwCursorPosition.X; - } + } FillConsoleOutputAttribute(handle, info.wAttributes, cnt, origin, &tmp); FillConsoleOutputCharacter(handle, ' ', cnt, origin, &tmp); } @@ -384,11 +384,11 @@ int VFPRINTF(HANDLE handle, const char *fmt, va_list argptr) SHORT cnt; DWORD tmp; if(num==1) - { + { cnt = info.dwCursorPosition.X + 1; } else if(num==2) - { + { cnt = info.dwSize.X; } else// 0 and default @@ -512,7 +512,7 @@ int VFPRINTF(HANDLE handle, const char *fmt, va_list argptr) } int FPRINTF(HANDLE handle, const char *fmt, ...) -{ +{ int ret; va_list argptr; va_start(argptr, fmt); @@ -569,7 +569,7 @@ int VFPRINTF(FILE *file, const char *fmt, va_list argptr) while(1) { if( ISDIGIT(*q) ) - { + { ++q; // and next character continue; @@ -648,7 +648,7 @@ int VFPRINTF(FILE *file, const char *fmt, va_list argptr) return 0; } int FPRINTF(FILE *file, const char *fmt, ...) -{ +{ int ret; va_list argptr; va_start(argptr, fmt); -- cgit v1.2.3-60-g2f50