[cairo-commit:00121] rcairo/rcairo [master] Always enable CAIRO_STATUS_LAST_STATUS

null+rcairo at clear-code.com null+rcairo at clear-code.com
Sat Mar 17 08:59:42 UTC 2012


Kouhei Sutou	2012-03-17 17:59:42 +0900 (Sat, 17 Mar 2012)

  New Revision: 1ae17db15c5303f5d8e0e7daaf0254ca672e876f

  Log:
    Always enable CAIRO_STATUS_LAST_STATUS

  Modified files:
    ext/cairo/rb_cairo_exception.c

  Modified: ext/cairo/rb_cairo_exception.c (+1 -1)
===================================================================
--- ext/cairo/rb_cairo_exception.c    2012-03-17 17:46:54 +0900 (ead926d)
+++ ext/cairo/rb_cairo_exception.c    2012-03-17 17:59:42 +0900 (8b92668)
@@ -179,10 +179,10 @@ rb_cairo_check_status (cairo_status_t status)
     case CAIRO_STATUS_DEVICE_ERROR:
       rb_raise (rb_eCairo_DeviceError, "%s", string);
       break;
+#endif
     case CAIRO_STATUS_LAST_STATUS:
       rb_raise (rb_eArgError, "bug: %s: %d", string, status);
       break;
-#endif
     }
 }
 



More information about the cairo-commit mailing list