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 | 28ea38ae5572d99598aa400fb62eb38f5f7ffd7b (patch) | |
tree | 29e703244d28f29c8634b2d30f42b34852fe74bc /src/os2.cpp | |
parent | 86d50b6415635d1f1fb87bd62f1e08aa7b8f0033 (diff) | |
download | openttd-28ea38ae5572d99598aa400fb62eb38f5f7ffd7b.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++) { |