summaryrefslogtreecommitdiff
path: root/src/fontfile/fontfile.c
diff options
context:
space:
mode:
authorAlan Coopersmith <alan.coopersmith@oracle.com>2022-06-21 17:37:32 -0700
committerAlan Coopersmith <alan.coopersmith@oracle.com>2022-06-21 17:37:32 -0700
commit3c8fdf6e35bed077a5614b4094770e668c96b9e9 (patch)
tree414fe12ed24e6e5573805fa4b8dfc84994f71c56 /src/fontfile/fontfile.c
parent8e3d94c867741319bf75b47266176cf677218641 (diff)
downloadxorg-lib-libXfont-3c8fdf6e35bed077a5614b4094770e668c96b9e9.tar.gz
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>
Diffstat (limited to 'src/fontfile/fontfile.c')
-rw-r--r--src/fontfile/fontfile.c4
1 files changed, 2 insertions, 2 deletions
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;