diff options
author | Alan Coopersmith <alan.coopersmith@sun.com> | 2007-06-13 14:37:39 -0700 |
---|---|---|
committer | Alan Coopersmith <alan.coopersmith@sun.com> | 2007-06-13 14:37:39 -0700 |
commit | 8476e5fbddafc171903470000e86a68f66dc3958 (patch) | |
tree | 198ec9da85476d9819b5d01d85e599d2dbcb22e1 | |
parent | 41503ac2d7c84502074b3b6528478fe017060ef7 (diff) |
Don't segfault if unable to load a usable fontset
-rw-r--r-- | Clock.c | 5 |
1 files changed, 4 insertions, 1 deletions
@@ -680,9 +680,12 @@ Initialize (Widget request, Widget new, ArgList args, Cardinal *num_args) + 2 * w->clock.padding; min_height = fse->max_logical_extent.height + 3 * w->clock.padding; + } else { + no_locale = True; } } - else + + if (!no_locale) #endif /* NO_I18N */ { if (w->clock.font == NULL) |