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]; wchar_t wide_name[MAX_PATH];
/* convert UTF-8 to WIDECHARs (aka UTF-16LE) */ /* 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; return;
} }
@ -1060,7 +1060,7 @@ saveint_cb (char *word[], char *word_eol[], void *user_data)
{ {
int buffer = atoi (word[2]); 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)) if (xchat_pluginpref_set_int (ph, "myint1", buffer))
{ {