diff options
author | Alan Coopersmith <alan.coopersmith@oracle.com> | 2022-06-21 17:37:32 -0700 |
---|---|---|
committer | Alan Coopersmith <alan.coopersmith@oracle.com> | 2022-06-21 17:37:32 -0700 |
commit | 3c8fdf6e35bed077a5614b4094770e668c96b9e9 (patch) | |
tree | 414fe12ed24e6e5573805fa4b8dfc84994f71c56 | |
parent | 8e3d94c867741319bf75b47266176cf677218641 (diff) |
Fix comments to reflect removal of OS/2 support
Commit 6c29007756301 removed OS/2 support from the code,
but missed updating the comments to match.
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
-rw-r--r-- | src/fontfile/dirfile.c | 2 | ||||
-rw-r--r-- | src/fontfile/fontdir.c | 2 | ||||
-rw-r--r-- | src/fontfile/fontfile.c | 4 |
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; |