summaryrefslogtreecommitdiff
path: root/src/window.h
diff options
context:
space:
mode:
authorrubidium <rubidium@openttd.org>2007-12-16 10:54:08 +0000
committerrubidium <rubidium@openttd.org>2007-12-16 10:54:08 +0000
commitec90ce7e98b29371b0fb139256065ac9991ca289 (patch)
tree267e33cbd909ce3837ebac7aca128ba8b4e40d0f /src/window.h
parentacf6e08f7840c9b6b89bd6e758972bf2bea29c5f (diff)
downloadopenttd-ec90ce7e98b29371b0fb139256065ac9991ca289.tar.xz
(svn r11643) -Codechange: conform with the coding style for the WP macro uses.
Diffstat (limited to 'src/window.h')
-rw-r--r--src/window.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/window.h b/src/window.h
index 11086e64b..8765fb428 100644
--- a/src/window.h
+++ b/src/window.h
@@ -237,7 +237,7 @@ struct Textbuf {
uint16 caretxoffs; ///< the current position of the caret in pixels
};
-#define WP(ptr,str) (*(str*)(ptr)->custom)
+#define WP(ptr, str) (*(str*)(ptr)->custom)
/* You cannot 100% reliably calculate the biggest custom struct as
* the number of pointers in it and alignment will have a huge impact.
* 96 is the largest window-size for 64-bit machines currently */