summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorBerke Viktor <bviktor@hexchat.org>2012-09-22 22:09:38 +0200
committerBerke Viktor <bviktor@hexchat.org>2012-09-22 22:09:38 +0200
commit60696af03d1659f8768c7adbea1e8846f67657d4 (patch)
tree8eb6ef069d6bd5e9f89bf28fd868cb5ee6d58a20
parent10e6774f0e8aa477fe245ba51ba6f4c548bef7eb (diff)
Fix syntax error, remove extra parenthesis
-rw-r--r--src/common/text.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/common/text.c b/src/common/text.c
index c8bab96d..e12021c9 100644
--- a/src/common/text.c
+++ b/src/common/text.c
@@ -597,7 +597,7 @@ log_create_pathname (char *servname, char *channame, char *netname)
 
 	/* create final path/filename, check if it's absolute or relative */
 #ifdef WIN32
-	if ((fnametime[0] >= 'A' && fnametime[0] <= 'Z') || (fnametime[0] >= 'a' && fnametime[0] <= 'z')) && fnametime[1] == ':')
+	if ((fnametime[0] >= 'A' && fnametime[0] <= 'Z') || (fnametime[0] >= 'a' && fnametime[0] <= 'z') && fnametime[1] == ':')
 #else
 	/* If one uses log mask variables, such as "%c/...", %c will be empty upon
 	 * connecting since there's no channel name yet, so we have to make sure