mirror of
git://git.code.sf.net/p/cdesktopenv/code
synced 2025-02-13 03:32:24 +00:00
DtHelp: keep processing even when some fonts are missing.
This commit is contained in:
parent
75280cc25b
commit
ec433c3eaa
1 changed files with 2 additions and 2 deletions
|
@ -109,8 +109,8 @@ _DtCvGetStringWidth (
|
|||
result = (*(canvas->virt_functions.get_width)) (
|
||||
canvas->client_data, _DtCvSTRING_TYPE,
|
||||
(_DtCvPointer) &strInfo);
|
||||
if (result < 0)
|
||||
result = 0;
|
||||
if (result <= 0)
|
||||
result = 1;
|
||||
|
||||
return result;
|
||||
|
||||
|
|
Loading…
Reference in a new issue