Browse Source

preprocessor directives cannot go inside string literals

Former-commit-id: 2bce03b562941c8163bc2e6f034f61d46ca3dd7f
Etienne Vouga 9 years ago
parent
commit
b4f462ef24
1 changed files with 4 additions and 4 deletions
  1. 4 4
      include/igl/viewer/Viewer.cpp

+ 4 - 4
include/igl/viewer/Viewer.cpp

@@ -346,13 +346,13 @@ namespace viewer
   T,t     Toggle filled faces
   Z       Snap to canonical view
   [,]     Toggle between rotation control types (e.g. trackball, two-axis
-          valuator with fixed up)
+          valuator with fixed up))"
 #ifdef IGL_VIEWER_WITH_NANOGUI
+		R"(
   ;       Toggle vertex labels
-  :       Toggle face labels
+  :       Toggle face labels)"
 #endif
-
-)");
+);
     std::cout<<usage;
 #endif
   }