diff src/util.c @ 423:0d4e80bdb96b

[gaim-migrate @ 433] No more --enable-oscar option. From now on, it's a toggle in the preferences. PLEASE DO NOT USE OSCAR, even though it's very easy to. committer: Tailor Script <tailor@pidgin.im>
author Eric Warmenhoven <eric@warmenhoven.org>
date Wed, 21 Jun 2000 19:33:58 +0000
parents 7ea55575cc01
children 4bf9c74b9e4d
line wrap: on
line diff
--- a/src/util.c	Mon Jun 19 21:58:32 2000 +0000
+++ b/src/util.c	Wed Jun 21 19:33:58 2000 +0000
@@ -408,7 +408,7 @@
 /* we only need this for TOC, because messages must be escaped */
 int escape_message(char *msg)
 {
-#ifndef USE_OSCAR
+if (!USE_OSCAR) {
 	char *c, *cpy;
 	int cnt=0;
 	/* Assumes you have a buffer able to cary at least BUF_LEN * 2 bytes */
@@ -438,15 +438,15 @@
 	msg[cnt]='\0';
 	g_free(cpy);
 	return cnt;
-#else
+} else {
 	return strlen(msg);
-#endif
+}
 }
 
 /* we don't need this for oscar either */
 int escape_text(char *msg)
 {
-#ifndef USE_OSCAR
+if (!USE_OSCAR) {
 	char *c, *cpy;
 	int cnt=0;
 	/* Assumes you have a buffer able to cary at least BUF_LEN * 4 bytes */
@@ -479,9 +479,9 @@
 	msg[cnt]='\0';
 	g_free(cpy);
 	return cnt;
-#else
+} else {
 	return strlen(msg);
-#endif
+}
 }
 
 char * escape_text2(char *msg)