parse number values write in a hex string in obxprop

This commit is contained in:
Dana Jansens 2010-05-11 23:31:03 -04:00
parent 013df404a8
commit dd623f5b2f

View file

@ -28,9 +28,9 @@ gint parse_hex(gchar *s) {
if (*s >= '0' && *s <='9')
add = *s-'0';
else if (*s >= 'A' && *s <='F')
add = *s-'A';
add = *s-'A'+10;
else if (*s >= 'a' && *s <='f')
add = *s-'a';
add = *s-'a'+10;
else
break;