summaryrefslogtreecommitdiff
path: root/src/common
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
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')
-rw-r--r--src/common/plugins.h2
-rw-r--r--src/common/showmsg.c8
-rw-r--r--src/common/timer.c2
3 files changed, 6 insertions, 6 deletions
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) );
}