summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/fontfile/dirfile.c2
-rw-r--r--src/fontfile/fontdir.c2
-rw-r--r--src/fontfile/fontfile.c4
3 files changed, 4 insertions, 4 deletions
diff --git a/src/fontfile/dirfile.c b/src/fontfile/dirfile.c
index a875408..04125b5 100644
--- a/src/fontfile/dirfile.c
+++ b/src/fontfile/dirfile.c
@@ -83,7 +83,7 @@ FontFileReadDirectory (const char *directory, FontDirectoryPtr *pdir)
#if !defined(WIN32)
if ((ptr = strchr(directory, ':'))) {
#else
- /* OS/2 and WIN32 path might start with a drive letter, don't clip this */
+ /* WIN32 path might start with a drive letter, don't clip this */
if ((ptr = strchr(directory+2, ':'))) {
#endif
strncpy(dir_path, directory, ptr - directory);
diff --git a/src/fontfile/fontdir.c b/src/fontfile/fontdir.c
index c8a6a0e..c63a245 100644
--- a/src/fontfile/fontdir.c
+++ b/src/fontfile/fontdir.c
@@ -115,7 +115,7 @@ FontFileMakeDir(const char *dirName, int size)
#if !defined(WIN32)
attrib = strchr(dirName, ':');
#else
- /* OS/2 uses the colon in the drive letter descriptor, skip this */
+ /* WIN32 uses the colon in the drive letter descriptor, skip this */
attrib = strchr(dirName+2, ':');
#endif
if (attrib) {
diff --git a/src/fontfile/fontfile.c b/src/fontfile/fontfile.c
index d36bbc0..4fb75ad 100644
--- a/src/fontfile/fontfile.c
+++ b/src/fontfile/fontfile.c
@@ -75,8 +75,8 @@ FontFileNameCheck (const char *name)
{
#ifndef NCD
#if defined(WIN32)
- /* OS/2 uses D:/... as a path name for fonts, so accept this as a valid
- * path if it starts with a letter and a colon. Same applies for WIN32
+ /* WIN32 uses D:/... as a path name for fonts, so accept this as a valid
+ * path if it starts with a letter and a colon.
*/
if (isalpha(*name) && name[1]==':')
return TRUE;