summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/Fl_Text_Buffer.cxx4
-rw-r--r--src/Fl_x.cxx4
-rw-r--r--src/drivers/Darwin/Fl_Darwin_System_Driver.cxx2
-rw-r--r--src/drivers/GDI/Fl_GDI_Graphics_Driver.cxx2
-rw-r--r--src/drivers/PicoAndroid/Fl_PicoAndroid_Graphics_Driver.cxx2
-rw-r--r--src/drivers/PicoSDL/Fl_PicoSDL_Graphics_Driver.cxx2
-rw-r--r--src/drivers/Posix/Fl_Posix_System_Driver.cxx2
-rw-r--r--src/drivers/Quartz/Fl_Quartz_Graphics_Driver.cxx2
-rw-r--r--src/drivers/Xlib/Fl_Xlib_Graphics_Driver.cxx2
-rw-r--r--src/xutf8/utf8Input.c2
-rw-r--r--src/xutf8/utf8Utils.c4
11 files changed, 14 insertions, 14 deletions
diff --git a/src/Fl_Text_Buffer.cxx b/src/Fl_Text_Buffer.cxx
index f57d7bd59..c4a935a81 100644
--- a/src/Fl_Text_Buffer.cxx
+++ b/src/Fl_Text_Buffer.cxx
@@ -1,7 +1,7 @@
//
// "$Id$"
//
-// Copyright 2001-2010 by Bill Spitzak and others.
+// Copyright 2001-2016 by Bill Spitzak and others.
// Original code Copyright Mark Edel. Permission to distribute under
// the LGPL for the FLTK library granted by Mark Edel.
//
@@ -1569,7 +1569,7 @@ static int general_input_filter(char *buffer, int buflen,
if (r == 0) return q - buffer;
p = line;
}
- if (q + 4 /*max width of utf-8 char*/ > buffer + buflen) {
+ if (q + 4 /*max width of UTF-8 char*/ > buffer + buflen) {
memmove(line, p, endline - p);
endline -= (p - line);
return q - buffer;
diff --git a/src/Fl_x.cxx b/src/Fl_x.cxx
index a00edb443..387459f6b 100644
--- a/src/Fl_x.cxx
+++ b/src/Fl_x.cxx
@@ -1384,7 +1384,7 @@ fprintf(stderr,"\n");*/
type = t;
break;
}
- // rest are only used if no utf-8 available:
+ // rest are only used if no UTF-8 available:
if (t == fl_XaText ||
t == fl_XaTextUriList ||
t == fl_XaCompoundText) type = t;
@@ -1625,7 +1625,7 @@ fprintf(stderr,"\n");*/
type = t;
break;
}
- // rest are only used if no utf-8 available:
+ // rest are only used if no UTF-8 available:
if (t == fl_XaText || // "TEXT"
t == fl_XaTextUriList || // "text/uri-list"
t == fl_XaCompoundText) type = t; // "COMPOUND_TEXT"
diff --git a/src/drivers/Darwin/Fl_Darwin_System_Driver.cxx b/src/drivers/Darwin/Fl_Darwin_System_Driver.cxx
index 246c38e9f..2584a21c7 100644
--- a/src/drivers/Darwin/Fl_Darwin_System_Driver.cxx
+++ b/src/drivers/Darwin/Fl_Darwin_System_Driver.cxx
@@ -101,7 +101,7 @@ int Fl_Darwin_System_Driver::filename_list(const char *d, dirent ***list, int (*
# else
int n = scandir(dirloc, list, 0, (int(*)(const void*,const void*))sort);
# endif
- // convert every filename to utf-8, and append a '/' to all
+ // convert every filename to UTF-8, and append a '/' to all
// filenames that are directories
int i;
char *fullname = (char*)malloc(dirlen+FL_PATH_MAX+3); // Add enough extra for two /'s and a nul
diff --git a/src/drivers/GDI/Fl_GDI_Graphics_Driver.cxx b/src/drivers/GDI/Fl_GDI_Graphics_Driver.cxx
index f03c38940..7da208573 100644
--- a/src/drivers/GDI/Fl_GDI_Graphics_Driver.cxx
+++ b/src/drivers/GDI/Fl_GDI_Graphics_Driver.cxx
@@ -35,7 +35,7 @@ void Fl_Graphics_Driver::global_gc()
}
/*
- * By linking this module, the following static method will instatiate the
+ * By linking this module, the following static method will instantiate the
* MSWindows GDI Graphics driver as the main display driver.
*/
Fl_Graphics_Driver *Fl_Graphics_Driver::newMainGraphicsDriver()
diff --git a/src/drivers/PicoAndroid/Fl_PicoAndroid_Graphics_Driver.cxx b/src/drivers/PicoAndroid/Fl_PicoAndroid_Graphics_Driver.cxx
index f3ea56e23..e52eaf9ec 100644
--- a/src/drivers/PicoAndroid/Fl_PicoAndroid_Graphics_Driver.cxx
+++ b/src/drivers/PicoAndroid/Fl_PicoAndroid_Graphics_Driver.cxx
@@ -35,7 +35,7 @@
/*
- * By linking this module, the following static method will instatiate the
+ * By linking this module, the following static method will instantiate the
* PicoSDL Graphics driver as the main display driver.
*/
Fl_Graphics_Driver *Fl_Graphics_Driver::newMainGraphicsDriver()
diff --git a/src/drivers/PicoSDL/Fl_PicoSDL_Graphics_Driver.cxx b/src/drivers/PicoSDL/Fl_PicoSDL_Graphics_Driver.cxx
index 571fe8560..87ffb2a0e 100644
--- a/src/drivers/PicoSDL/Fl_PicoSDL_Graphics_Driver.cxx
+++ b/src/drivers/PicoSDL/Fl_PicoSDL_Graphics_Driver.cxx
@@ -26,7 +26,7 @@
#undef __APPLE__
/*
- * By linking this module, the following static method will instatiate the
+ * By linking this module, the following static method will instantiate the
* PicoSDL Graphics driver as the main display driver.
*/
Fl_Graphics_Driver *Fl_Graphics_Driver::newMainGraphicsDriver()
diff --git a/src/drivers/Posix/Fl_Posix_System_Driver.cxx b/src/drivers/Posix/Fl_Posix_System_Driver.cxx
index 4d0dd2003..4f9c08c40 100644
--- a/src/drivers/Posix/Fl_Posix_System_Driver.cxx
+++ b/src/drivers/Posix/Fl_Posix_System_Driver.cxx
@@ -100,7 +100,7 @@ int Fl_Posix_System_Driver::filename_list(const char *d, dirent ***list, int (*s
free(dirloc);
- // convert every filename to utf-8, and append a '/' to all
+ // convert every filename to UTF-8, and append a '/' to all
// filenames that are directories
int i;
char *fullname = (char*)malloc(dirlen+FL_PATH_MAX+3); // Add enough extra for two /'s and a nul
diff --git a/src/drivers/Quartz/Fl_Quartz_Graphics_Driver.cxx b/src/drivers/Quartz/Fl_Quartz_Graphics_Driver.cxx
index c288a5666..6120af72d 100644
--- a/src/drivers/Quartz/Fl_Quartz_Graphics_Driver.cxx
+++ b/src/drivers/Quartz/Fl_Quartz_Graphics_Driver.cxx
@@ -33,7 +33,7 @@ void Fl_Graphics_Driver::global_gc()
}
/*
- * By linking this module, the following static method will instatiate the
+ * By linking this module, the following static method will instantiate the
* OS X Quartz Graphics driver as the main display driver.
*/
Fl_Graphics_Driver *Fl_Graphics_Driver::newMainGraphicsDriver()
diff --git a/src/drivers/Xlib/Fl_Xlib_Graphics_Driver.cxx b/src/drivers/Xlib/Fl_Xlib_Graphics_Driver.cxx
index aa82393fe..98dafbb7e 100644
--- a/src/drivers/Xlib/Fl_Xlib_Graphics_Driver.cxx
+++ b/src/drivers/Xlib/Fl_Xlib_Graphics_Driver.cxx
@@ -40,7 +40,7 @@ void Fl_Graphics_Driver::global_gc()
/*
- * By linking this module, the following static method will instatiate the
+ * By linking this module, the following static method will instantiate the
* X11 Xlib Graphics driver as the main display driver.
*/
Fl_Graphics_Driver *Fl_Graphics_Driver::newMainGraphicsDriver()
diff --git a/src/xutf8/utf8Input.c b/src/xutf8/utf8Input.c
index e962969c7..231553b5d 100644
--- a/src/xutf8/utf8Input.c
+++ b/src/xutf8/utf8Input.c
@@ -449,7 +449,7 @@ XUtf8LookupString(XIC ic,
}
return len;
}
-#endif /* X11 has utf-8 */
+#endif /* X11 has UTF-8 */
#endif /* X11 only */
diff --git a/src/xutf8/utf8Utils.c b/src/xutf8/utf8Utils.c
index ae3224dce..f525f4946 100644
--- a/src/xutf8/utf8Utils.c
+++ b/src/xutf8/utf8Utils.c
@@ -93,7 +93,7 @@ XConvertUtf8ToUcs(const unsigned char *buf,
return 1;
}
- *ucs = (unsigned int) '?'; /* bad utf-8 string */
+ *ucs = (unsigned int) '?'; /* bad UTF-8 string */
return -1;
}
@@ -220,7 +220,7 @@ XFastConvertUtf8ToUcs(const unsigned char *buf,
return 1;
}
- *ucs = (unsigned int) '?'; /* bad utf-8 string */
+ *ucs = (unsigned int) '?'; /* bad UTF-8 string */
return -1;
}