From f17c3bc02c9e82147fb471132940e84d227ec4bc Mon Sep 17 00:00:00 2001 From: brianluau Date: Mon, 30 Jan 2012 16:02:55 +0000 Subject: - Removed trailing tabs, and fixed some spacing. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@15524 54d463be-8e91-2dee-dedb-b68131a5f0ec --- src/common/plugins.h | 2 +- src/common/showmsg.c | 8 ++++---- src/common/timer.c | 2 +- 3 files changed, 6 insertions(+), 6 deletions(-) (limited to 'src/common') diff --git a/src/common/plugins.h b/src/common/plugins.h index c1cf17afd..8c9c70d9f 100644 --- a/src/common/plugins.h +++ b/src/common/plugins.h @@ -47,7 +47,7 @@ typedef struct _Plugin { char state; char* filename; struct _Plugin_Info* info; - struct _Plugin* next; + struct _Plugin* next; } Plugin; ///////////////////////////////////////////// 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) ) diff --git a/src/common/timer.c b/src/common/timer.c index 05c53b8a3..32bc30520 100644 --- a/src/common/timer.c +++ b/src/common/timer.c @@ -130,7 +130,7 @@ static void rdtsc_calibrate(){ } RDTSC_CLOCK /= 5; - RDTSC_BEGINTICK = _rdtsc(); + RDTSC_BEGINTICK = _rdtsc(); ShowMessage(" done. (Frequency: %u Mhz)\n", (uint32)(RDTSC_CLOCK/1000) ); } -- cgit v1.2.3-70-g09d2