]> Dogcows Code - chaz/openbox/commitdiff
advance while parsing a hex input in obxprop
authorDana Jansens <danakj@orodu.net>
Wed, 12 May 2010 03:29:18 +0000 (23:29 -0400)
committerDana Jansens <danakj@orodu.net>
Wed, 12 May 2010 03:29:18 +0000 (23:29 -0400)
tools/obxprop/obxprop.c

index 44b33041a99e4e04858517e128989bb5a25398de..071ae3f45ddbe492ee37adf477f796abb8f8fff8 100644 (file)
@@ -36,6 +36,7 @@ gint parse_hex(gchar *s) {
 
         result *= 16;
         result += add;
+        ++s;
     }
     return result;
 }
This page took 0.022437 seconds and 4 git commands to generate.