diff options
author | stanton <stanton> | 1998-11-25 23:31:05 (GMT) |
---|---|---|
committer | stanton <stanton> | 1998-11-25 23:31:05 (GMT) |
commit | d8926483fbc1aa54f39f2772c0b355751c10ce44 (patch) | |
tree | 697db19aeb59df9a3e3b58cbe82a8520349a5b82 | |
parent | 1da7c974952d161326c07b776d7ba4c9928bd2bc (diff) | |
download | tk-d8926483fbc1aa54f39f2772c0b355751c10ce44.zip tk-d8926483fbc1aa54f39f2772c0b355751c10ce44.tar.gz tk-d8926483fbc1aa54f39f2772c0b355751c10ce44.tar.bz2 |
lint
-rw-r--r-- | unix/tkUnixFont.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/unix/tkUnixFont.c b/unix/tkUnixFont.c index 5725207..0386af8 100644 --- a/unix/tkUnixFont.c +++ b/unix/tkUnixFont.c @@ -9,7 +9,7 @@ * See the file "license.terms" for information on usage and redistribution * of this file, and for a DISCLAIMER OF ALL WARRANTIES. * - * RCS: @(#) $Id: tkUnixFont.c,v 1.1.4.4 1998/11/25 23:12:14 stanton Exp $ + * RCS: @(#) $Id: tkUnixFont.c,v 1.1.4.5 1998/11/25 23:31:05 stanton Exp $ */ #include "tkUnixInt.h" @@ -420,7 +420,7 @@ TkpGetNativeFont(tkwin, name) UnixFont *fontPtr; XFontStruct *fontStructPtr; FontAttributes fa; - char *p; + CONST char *p; int hasSpace, dashes, hasWild; /* @@ -2422,7 +2422,7 @@ GetFontAttributes(display, fontStructPtr, faPtr) } else { TkInitFontAttributes(&faPtr->fa); TkInitXLFDAttributes(&faPtr->xa); - faPtr->xa.family = Tk_GetUid(""); + faPtr->fa.family = Tk_GetUid(""); faPtr->xa.foundry = Tk_GetUid(""); faPtr->xa.charset = Tk_GetUid(""); } |