diff options
author | rubidium <rubidium@openttd.org> | 2009-01-10 00:31:47 +0000 |
---|---|---|
committer | rubidium <rubidium@openttd.org> | 2009-01-10 00:31:47 +0000 |
commit | 11da45ee55957c243854cd78705d81543541c061 (patch) | |
tree | 29e703244d28f29c8634b2d30f42b34852fe74bc /src/os2.cpp | |
parent | c3839648f75ebfdca2f7d95b7d6a2b29445ab1c2 (diff) | |
download | openttd-11da45ee55957c243854cd78705d81543541c061.tar.xz |
(svn r14949) -Cleanup: pointer coding style
Diffstat (limited to 'src/os2.cpp')
-rw-r--r-- | src/os2.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/os2.cpp b/src/os2.cpp index 5e1a3e0dd..e15b96a5b 100644 --- a/src/os2.cpp +++ b/src/os2.cpp @@ -162,7 +162,7 @@ void ShowOSErrorBox(const char *buf, bool system) WinTerminate(hab); } -int CDECL main(int argc, char* argv[]) +int CDECL main(int argc, char *argv[]) { SetRandomSeed(time(NULL)); @@ -184,13 +184,13 @@ bool InsertTextBufferClipboard(Textbuf *tb) if (WinOpenClipbrd(hab)) { - const char* text = (const char*)WinQueryClipbrdData(hab, CF_TEXT); + const char *text = (const char*)WinQueryClipbrdData(hab, CF_TEXT); if (text != NULL) { uint length = 0; uint width = 0; - const char* i; + const char *i; for (i = text; IsValidAsciiChar(*i); i++) { |