diff --git a/aegisub/video_context.h b/aegisub/video_context.h
index 01545e66dec4a23066623e90214943ea012c48c3..56c60d11a21f6509393c33a65ca3e3d39a0719e8 100644
--- a/aegisub/video_context.h
+++ b/aegisub/video_context.h
@@ -44,7 +44,7 @@
 #include <wx/glcanvas.h>
 #include <wx/timer.h>
 #include <wx/stopwatch.h>
-#ifndef wxUSE_GLCANVAS
+#if ! wxUSE_GLCANVAS
 #error "Aegisub requires wxWidgets to be compiled with OpenGL support."
 #endif
 #include <list>