From: handa Date: Fri, 29 Oct 2004 07:12:01 +0000 (+0000) Subject: (main): Fix handling of "-s" arg. X-Git-Tag: REL-1-2-0~98 X-Git-Url: http://git.chise.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=16d781af8870f1c8472f25d1512eb1f0325ddcc0;p=m17n%2Fm17n-lib.git (main): Fix handling of "-s" arg. --- diff --git a/example/medit.c b/example/medit.c index b8748f0..e033584 100644 --- a/example/medit.c +++ b/example/medit.c @@ -2375,7 +2375,7 @@ main (int argc, char **argv) { Widget form, BodyWidget, w; char *fontset_name = NULL; - int fontsize = 120; + int fontsize = 0; char *initial_input_method = NULL; int col = 80, row = 32; /* Translation table for TextWidget. */ @@ -2501,7 +2501,7 @@ main (int argc, char **argv) MFont *font; mplist_put (plist, msymbol ("widget"), ShellWidget); - if (fontset_name || fontsize != 120) + if (fontset_name || fontsize > 0) { MFontset *fontset = mfontset (fontset_name);