diff options
author | Michael Jennings <mej@kainx.org> | 2002-11-27 20:18:24 +0000 |
---|---|---|
committer | Michael Jennings <mej@kainx.org> | 2002-11-27 20:18:24 +0000 |
commit | 675bf268aa21610190446608658e051c4a725a67 (patch) | |
tree | bf2154e9256bb5e2655eb5438a8e66f6eff55374 /src/pixmap.c | |
parent | 28dcf3270851c50f8351a2b9cc6b8dc227b253fb (diff) | |
download | eterm-675bf268aa21610190446608658e051c4a725a67.tar.gz |
Wed Nov 27 15:17:04 2002 Michael Jennings (mej)
Same as yesterday, only this time I'm *actually* going to fix the
problem. >:I I should really read more carefully.
While I was at it, I fixed some bad uses of BEG_STRCASECMP().
SVN revision: 6467
Diffstat (limited to 'src/pixmap.c')
-rw-r--r-- | src/pixmap.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/pixmap.c b/src/pixmap.c index 147a590..cf89eb2 100644 --- a/src/pixmap.c +++ b/src/pixmap.c @@ -222,15 +222,15 @@ parse_pixmap_ops(char *str) D_PIXMAP(("parse_pixmap_ops(str [%s]) called.\n", str)); for (; (token = (char *) strsep(&str, ":"));) { - if (!BEG_STRCASECMP("tiled", token)) { + if (!BEG_STRCASECMP(token, "tile")) { op |= OP_TILE; - } else if (!BEG_STRCASECMP("hscaled", token)) { + } else if (!BEG_STRCASECMP(token, "hscale")) { op |= OP_HSCALE; - } else if (!BEG_STRCASECMP("vscaled", token)) { + } else if (!BEG_STRCASECMP(token, "vscale")) { op |= OP_VSCALE; - } else if (!BEG_STRCASECMP("scaled", token)) { + } else if (!BEG_STRCASECMP(token, "scale")) { op |= OP_SCALE; - } else if (!BEG_STRCASECMP("propscaled", token)) { + } else if (!BEG_STRCASECMP(token, "propscale")) { op |= OP_PROPSCALE; } } |