--- a/src/gfx.cc.old	2009-08-01 18:47:46.000000000 +0200
+++ b/src/gfx.cc	2009-08-01 18:46:03.000000000 +0200
@@ -310,7 +310,7 @@
     win_vis_id    = vis_info->visualid;
 #if defined _cplusplus || defined __cplusplus
     win_vis_class = vis_info->c_class;
-#elif
+#else
     win_vis_class = vis_info->class;
 #endif
     win_ncolours  = vis_info->colormap_size;
