summaryrefslogtreecommitdiff
path: root/src/fl_file_chooser.cxx
diff options
context:
space:
mode:
authorMichael R Sweet <michael.r.sweet@gmail.com>2000-12-06 15:45:13 +0000
committerMichael R Sweet <michael.r.sweet@gmail.com>2000-12-06 15:45:13 +0000
commitd244d063ffef2b208bc0659909f0cf31feff795a (patch)
treea3fbf0e7166bddc37c6c1ecdd20e75324c38bd8e /src/fl_file_chooser.cxx
parenta7826cdc80f888fd9d647ce41b590f57098e37fd (diff)
APIENTRY doesn't need to be used for the font pointers in glut.H
APIENTRY should appear between the return type and function name. WIN32 is defined by MSVC++, not _WIN32. Updated the sources to work with both. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.0@1343 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
Diffstat (limited to 'src/fl_file_chooser.cxx')
-rw-r--r--src/fl_file_chooser.cxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/fl_file_chooser.cxx b/src/fl_file_chooser.cxx
index 1dc390ce3..22f55bdf3 100644
--- a/src/fl_file_chooser.cxx
+++ b/src/fl_file_chooser.cxx
@@ -1,5 +1,5 @@
//
-// "$Id: fl_file_chooser.cxx,v 1.10.2.6 2000/08/20 04:35:16 spitzak Exp $"
+// "$Id: fl_file_chooser.cxx,v 1.10.2.7 2000/12/06 15:45:13 easysw Exp $"
//
// File chooser widget for the Fast Light Tool Kit (FLTK).
//
@@ -231,7 +231,7 @@ int FCB::get(char* buf) {
for (dirent** r = q+1; n && r < last; r++) {
if (!item_height(*r, 0)) continue;
int i;
-#ifdef _WIN32
+#if defined(_WIN32) || defined(WIN32)
for (i=0; i<n && tolower((*q)->d_name[i])==tolower((*r)->d_name[i]); i++) {}
#else
for (i=0; i<n && (*q)->d_name[i]==(*r)->d_name[i]; i++) {}
@@ -632,5 +632,5 @@ char* fl_file_chooser(const char* message, const char* pat, const char* fname)
}
//
-// End of "$Id: fl_file_chooser.cxx,v 1.10.2.6 2000/08/20 04:35:16 spitzak Exp $".
+// End of "$Id: fl_file_chooser.cxx,v 1.10.2.7 2000/12/06 15:45:13 easysw Exp $".
//