summaryrefslogtreecommitdiff
path: root/src/common
diff options
context:
space:
mode:
authorbrianluau <brianluau@54d463be-8e91-2dee-dedb-b68131a5f0ec>2012-01-30 20:17:55 +0000
committerbrianluau <brianluau@54d463be-8e91-2dee-dedb-b68131a5f0ec>2012-01-30 20:17:55 +0000
commit9fbf9932e874845247f285e5c1c4f6c15b4cea58 (patch)
tree47939b089708ffc221cc819177f3632e5cdaa543 /src/common
parentc6e18085940a91c2656bc6bfeb795693b1fbb3c4 (diff)
downloadhercules-9fbf9932e874845247f285e5c1c4f6c15b4cea58.tar.gz
hercules-9fbf9932e874845247f285e5c1c4f6c15b4cea58.tar.bz2
hercules-9fbf9932e874845247f285e5c1c4f6c15b4cea58.tar.xz
hercules-9fbf9932e874845247f285e5c1c4f6c15b4cea58.zip
- Removed more trailing tabs.
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@15527 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/common')
-rw-r--r--src/common/showmsg.c14
-rw-r--r--src/common/utils.c4
2 files changed, 9 insertions, 9 deletions
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);
diff --git a/src/common/utils.c b/src/common/utils.c
index 1602afa52..8b9e33fa0 100644
--- a/src/common/utils.c
+++ b/src/common/utils.c
@@ -106,7 +106,7 @@ static char* checkpath(char *path, const char *srcpath)
}
void findfile(const char *p, const char *pat, void (func)(const char*))
-{
+{
WIN32_FIND_DATAA FindFileData;
HANDLE hFind;
char tmppath[MAX_PATH+1];
@@ -167,7 +167,7 @@ static char* checkpath(char *path, const char*srcpath)
}
void findfile(const char *p, const char *pat, void (func)(const char*))
-{
+{
DIR* dir; // pointer to the scanned directory.
struct dirent* entry; // pointer to one directory entry.
struct stat dir_stat; // used by stat().