1
0
mirror of https://github.com/anope/anope.git synced 2026-07-10 18:03:14 +02:00

Cleanup some excess whitespaces and tabs, and fix a few typos along the way.

This commit is contained in:
Robby
2017-01-17 05:03:25 +01:00
parent 464093d36e
commit 76ce8ece1a
204 changed files with 442 additions and 550 deletions
+5 -5
View File
@@ -56,11 +56,11 @@ USHORT WindowsGetLanguage(const Anope::string &lang)
for (int i = 0; i < sizeof(WindowsLanguages) / sizeof(WindowsLanguage); ++i)
{
WindowsLanguage &l = WindowsLanguages[i];
if (lang == l.languageName || !lang.find(l.languageName + "."))
return l.windowsLanguageName;
}
return LANG_NEUTRAL;
}
@@ -73,10 +73,10 @@ int gettimeofday(timeval *tv, void *)
{
SYSTEMTIME st;
GetSystemTime(&st);
tv->tv_sec = Anope::CurTime;
tv->tv_usec = st.wMilliseconds;
return 0;
}
@@ -248,7 +248,7 @@ int mkstemp(char *input)
errno = EEXIST;
return -1;
}
int fd = open(input, O_WRONLY | O_CREAT, S_IREAD | S_IWRITE);
return fd;
}