Enlightenment CVS committal Author : englebass Project : e17 Module : apps/emprint
Dir : e17/apps/emprint/src/bin Modified Files: main.c Log Message: Fix compiler warnings. =================================================================== RCS file: /cvs/e/e17/apps/emprint/src/bin/main.c,v retrieving revision 1.9 retrieving revision 1.10 diff -u -3 -r1.9 -r1.10 --- main.c 6 Jan 2008 21:32:24 -0000 1.9 +++ main.c 18 Jan 2008 19:41:03 -0000 1.10 @@ -451,7 +451,7 @@ ecore_x_window_show(input_window); /* set the mouse pointer */ - if (cursor = ecore_x_cursor_shape_get(ECORE_X_CURSOR_CROSS)) + if ((cursor = ecore_x_cursor_shape_get(ECORE_X_CURSOR_CROSS))) ecore_x_window_cursor_set(input_window, cursor); /* setup handler to recieve click event */ @@ -491,7 +491,7 @@ _em_cb_mouse_down, NULL); /* set the mouse pointer */ - if (cursor = ecore_x_cursor_shape_get(ECORE_X_CURSOR_CROSS)) + if ((cursor = ecore_x_cursor_shape_get(ECORE_X_CURSOR_CROSS))) ecore_x_window_cursor_set(input_window, cursor); /* create the rubber band */ @@ -654,7 +654,7 @@ if (opts->region) { _em_grab_region_end(); - return; + return 1; } ev = event; ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ enlightenment-cvs mailing list enlightenment-cvs@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs