From 84f2a59993a3a2ac78e673cfe721716425f1183b Mon Sep 17 00:00:00 2001 From: whitequark Date: Tue, 17 Mar 2015 20:30:37 +0300 Subject: [PATCH] Use the degree symbol on non-Windows. The Windows code uses a degree symbol in Latin-1, which crashes FLTK on OS X. --- src/graphicswin.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/graphicswin.cpp b/src/graphicswin.cpp index d65e696..6b975d6 100644 --- a/src/graphicswin.cpp +++ b/src/graphicswin.cpp @@ -45,7 +45,11 @@ const GraphicsWindow::MenuEntry GraphicsWindow::menu[] = { { 1, "Re&generate All", MNU_REGEN_ALL, ' ', mEdit }, { 1, NULL, 0, 0, NULL }, { 1, "Snap Selection to &Grid", MNU_SNAP_TO_GRID, '.', mEdit }, +#ifdef WIN32 { 1, "Rotate Imported &90\260", MNU_ROTATE_90, '9', mEdit }, +#else +{ 1, "Rotate Imported &90°", MNU_ROTATE_90, '9', mEdit }, +#endif { 1, NULL, 0, 0, NULL }, { 1, "Cu&t", MNU_CUT, C|'X', mClip }, { 1, "&Copy", MNU_COPY, C|'C', mClip },