changeset 279:4051bc09da78

Fix absolute path handling on Windows Actually recognize lower case drive letters. Lower case letters include the range 'a' ... 'z', not 'a' ... 'A', the latter containing zero members as the test was previously implemented.
author William Astle <lost@l-w.ca>
date Tue, 16 Jul 2013 17:04:45 -0600
parents 95c941799c8e
children 4370370f38d1
files lwasm/input.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/lwasm/input.c	Thu Jun 13 22:17:36 2013 -0600
+++ b/lwasm/input.c	Tue Jul 16 17:04:45 2013 -0600
@@ -93,7 +93,7 @@
 		return 0;
 	if (s[1] != ':')
 		return 0;
-	if ((s[0] >= 'A' && s[0] <= 'Z') || (s[0] >= 'a' && s[0] <= 'A'))
+	if ((s[0] >= 'A' && s[0] <= 'Z') || (s[0] >= 'a' && s[0] <= 'z'))
 		return 1;
 	return 0;
 #else