summary refs log tree commit diff stats
path: root/share/doc/plugins.md
diff options
context:
space:
mode:
authorBerke Viktor <bviktor@hexchat.org>2012-10-28 13:58:09 +0100
committerBerke Viktor <bviktor@hexchat.org>2012-10-28 13:58:09 +0100
commit048b17dcbdc2f256061238a1286f1c09ef6912e1 (patch)
treeed1722f04a49ccfcb040dda03cfceb9c0f4118cf /share/doc/plugins.md
parent474d064c1f7e0e2e4ae800c563c2030fb9bd849f (diff)
Fix escapes
Diffstat (limited to 'share/doc/plugins.md')
-rw-r--r--share/doc/plugins.md4
1 files changed, 2 insertions, 2 deletions
diff --git a/share/doc/plugins.md b/share/doc/plugins.md
index 8440058e..9e78e839 100644
--- a/share/doc/plugins.md
+++ b/share/doc/plugins.md
@@ -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))
 		{