fixed the overlook 0->NULL conversion
authormishas <mikhail.sobolev@gmail.com>
Mon, 12 Mar 2007 16:31:01 +0000 (16:31 +0000)
committermishas <mikhail.sobolev@gmail.com>
Mon, 12 Mar 2007 16:31:01 +0000 (16:31 +0000)
git-svn-id: file:///svnroot/simple-launcher/trunk@70 3ba93dab-e023-0410-b42a-de7732cf370a

simple-launcher.cc

index 005b26c..41895a6 100644 (file)
@@ -214,7 +214,7 @@ int SimpleLauncherApplet::saveState(void **state_data, int *state_size) {
   }
 
   if (state_size != NULL) {
-    *state_size = NULL;
+    *state_size = 0;
   }
 
   return 1;