summaryrefslogtreecommitdiff
path: root/src/fl_font_mac.cxx
diff options
context:
space:
mode:
authorMichael R Sweet <michael.r.sweet@gmail.com>2003-05-26 14:19:50 +0000
committerMichael R Sweet <michael.r.sweet@gmail.com>2003-05-26 14:19:50 +0000
commit3aebbc01dc953b21710c4a65327783f742c3bf99 (patch)
treed949c0cd25c3ed9665ca7b1bece1324b166dd9f6 /src/fl_font_mac.cxx
parent674dc68ed8a7b72b97487516192c090da3715f0b (diff)
Remove "fix" for DND code; the original code works just fine (should have
tested first on OSX...) Get rid of compiler warning in fl_draw... git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@3001 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
Diffstat (limited to 'src/fl_font_mac.cxx')
-rw-r--r--src/fl_font_mac.cxx8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/fl_font_mac.cxx b/src/fl_font_mac.cxx
index fc593403d..3fa84a291 100644
--- a/src/fl_font_mac.cxx
+++ b/src/fl_font_mac.cxx
@@ -1,5 +1,5 @@
//
-// "$Id: fl_font_mac.cxx,v 1.1.2.13 2003/05/21 13:23:40 easysw Exp $"
+// "$Id: fl_font_mac.cxx,v 1.1.2.14 2003/05/26 14:19:50 easysw Exp $"
//
// MacOS font selection routines for the Fast Light Tool Kit (FLTK).
//
@@ -182,8 +182,8 @@ void fl_draw(const char* str, int n, int x, int y) {
// First convert string to MacRoman encoding...
- if (n > sizeof(buf))
- n = sizeof(buf);
+ if (n > (int)sizeof(buf))
+ n = (int)sizeof(buf);
for (i = n, bufptr = buf; i > 0; i --)
*bufptr++ = macroman_lut[*str++ & 255];
@@ -195,5 +195,5 @@ void fl_draw(const char* str, int n, int x, int y) {
//
-// End of "$Id: fl_font_mac.cxx,v 1.1.2.13 2003/05/21 13:23:40 easysw Exp $".
+// End of "$Id: fl_font_mac.cxx,v 1.1.2.14 2003/05/26 14:19:50 easysw Exp $".
//