diff options
author | Campbell Barton <ideasman42@gmail.com> | 2013-02-21 21:18:27 +0400 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2013-02-21 21:18:27 +0400 |
commit | 091d86b9cb769f535fa11d2c7b6274e5206476d3 (patch) | |
tree | cb6db7fa6802f71558a016f1e5239cfb3f0f47c3 /intern | |
parent | c84e4da7ddae474a1eb3368844165f21866c5fe5 (diff) |
style cleanup: 'sizeof foo' --> 'sizeof(foo)', add check in style checking script.
Diffstat (limited to 'intern')
-rw-r--r-- | intern/ghost/intern/GHOST_DisplayManagerSDL.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/intern/ghost/intern/GHOST_DisplayManagerSDL.cpp b/intern/ghost/intern/GHOST_DisplayManagerSDL.cpp index 86f0380c8d6..0d077ebc204 100644 --- a/intern/ghost/intern/GHOST_DisplayManagerSDL.cpp +++ b/intern/ghost/intern/GHOST_DisplayManagerSDL.cpp @@ -39,7 +39,7 @@ GHOST_DisplayManagerSDL::GHOST_DisplayManagerSDL(GHOST_SystemSDL *system) GHOST_DisplayManager(), m_system(system) { - memset(&m_mode, 0, sizeof m_mode); + memset(&m_mode, 0, sizeof(m_mode)); } GHOST_TSuccess |