diff options
| author | Matthias Melcher <fltk@matthiasm.com> | 2006-06-05 09:04:23 +0000 |
|---|---|---|
| committer | Matthias Melcher <fltk@matthiasm.com> | 2006-06-05 09:04:23 +0000 |
| commit | c80ca69407154462729ea5309d555d374a676f2d (patch) | |
| tree | a98323c65031def06e35f16568833a6b31edc4a2 | |
| parent | 8130f16538f62c87d948e2af8924737126a2876f (diff) | |
OS X Quartz: fixed the text width problem.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@5175 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
| -rw-r--r-- | src/fl_font_mac.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/fl_font_mac.cxx b/src/fl_font_mac.cxx index c714dc826..e6edecbaa 100644 --- a/src/fl_font_mac.cxx +++ b/src/fl_font_mac.cxx @@ -288,8 +288,8 @@ double fl_width(const char* txt, int n) { Fl_Window *w = Fl::first_window(); if (w) w->make_current(); if (!fl_gc) { - fprintf(stderr, "FLTK:fl_width() - no visible window to measure this text.\n"); - return -1; + // We fall back to some internal QuickDraw port. + // The result should be the same. } } OSStatus err; |
