1
0
mirror of https://github.com/moparisthebest/hexchat synced 2024-11-29 20:52:16 -05:00

Fix escapes

This commit is contained in:
Berke Viktor 2012-10-28 13:58:09 +01:00
parent 474d064c1f
commit 048b17dcbd

View File

@ -423,7 +423,7 @@ get_file_name (char *nick, char *fname)
wchar_t wide_name[MAX_PATH];
/* convert UTF-8 to WIDECHARs (aka UTF-16LE) */
if (MultiByteToWideChar (CP_UTF8, 0, fname, -1, wide_name, MAX_PATH) < 1)
if (MultiByteToWideChar (CP_UTF8, 0, fname, -1, wide_name, MAX_PATH) &lt; 1)
{
return;
}
@ -1060,7 +1060,7 @@ saveint_cb (char *word[], char *word_eol[], void *user_data)
{
int buffer = atoi (word[2]);
if (buffer > 0 && buffer < INT_MAX)
if (buffer > 0 && buffer &lt; INT_MAX)
{
if (xchat_pluginpref_set_int (ph, "myint1", buffer))
{