Don't draw text-panel when effective width is < 0

When edit_draw is called, it could happen that a negative value
is passed to text_height as the first argument, effectively
leading to an infinite loop.

To prevent this, the possibility is checked directly at the
beginning of the function.

The reason why this went unnoticed so long is the fact that
the wmhints prevent the window from ever being scaled to such
a small size to trigger this bug.
However, I came to notice this issue, because a tiling-wm
overrides the wmhints, which effectively lead to the freeze
once the window was small enough.

Relying on the hints to shadow bugs for you is not the way
to go and explicitly breaks the ICCCM-conventions.

Fixing this freezing bug will sort out many other issues
reported for other platforms in regard to freezing.
Don't draw messages smaller than the widest character in current font
Minor fixes of Russian and Ukrainian translations
Update main.c

Add chinese simplified support, but langid is shot format(primary language ID) so chinese is only chinese CHS or CHT.I think is right that uint16_t langid = GetUserDefaultUILanguage() & 0xFFFF; ... case 0x0804: LANG = LANG_CN;
Update main.c

fix language support to full Language Identifier.
Update ui_strings.h

Add a Chinese Traditional Translation.
Update ui_dropdown.h

Add a Chinese Traditional Translation.
Add a Chinese Traditional Translation.

Add a Chinese Traditional Translation.
Add a Chinese Traditional Translation.
no longer load width/height of window on windows due to issue
Update French Translation
Merge pull request #373 from banditkroot/master

Update French Translation
Merge pull request #383 from v2e/patch-1

Minor fixes of Russian and Ukrainian translations
Be less "magical" and incorporate the fit-check in textheight()

In case there is a problem, textheight() returns 0. This is then
checked for in messages_draw.
Fix minor issue with empty lines
Changed default language to English on Windows
Update ui_strings.h

fix typo (in russian "запос" should be "запрос")
Merge pull request #392 from e1usion/patch-1

Update ui_strings.h
Merge pull request #391 from cteodoro/master

Change default language to English on Windows
Merge branch 'master' of https://github.com/kaisfm/uTox