diff gui/ui/main.c @ 35355:c8478a499a17

Pass big parameter by reference rather than by value. Additionally, add a doxygen comment.
author ib
date Fri, 23 Nov 2012 09:20:49 +0000
parents 96cda43fe250
children 80fe9ad7f318
line wrap: on
line diff
--- a/gui/ui/main.c	Fri Nov 23 09:02:22 2012 +0000
+++ b/gui/ui/main.c	Fri Nov 23 09:20:49 2012 +0000
@@ -336,8 +336,8 @@
    case evIconify:
         switch ( iparam )
          {
-          case 0: wsIconify( guiApp.mainWindow ); break;
-          case 1: wsIconify( guiApp.videoWindow ); break;
+          case 0: wsIconify( &guiApp.mainWindow ); break;
+          case 1: wsIconify( &guiApp.videoWindow ); break;
          }
         break;
    case evHalfSize: