]> mj.ucw.cz Git - libucw.git/commitdiff
typo
authorPavel Charvat <pchar@paja.doma>
Thu, 10 Aug 2006 07:54:47 +0000 (09:54 +0200)
committerPavel Charvat <pavel.charvat@netcentrum.cz>
Thu, 10 Aug 2006 07:54:47 +0000 (09:54 +0200)
images/image-tool.c

index 831c65773cdc71e8c5382a0c8438ee943d16facc..eb2a3ec2568e9f0e80ab37517856c8987cd3699f 100644 (file)
@@ -73,7 +73,7 @@ parse_color(struct color *color, byte *s)
 {
   if (strlen(s) != 6)
     usage();
-  s = 0;
+  errno = 0;
   char *end;
   long int v = strtol(s, &end, 16);
   if (errno || *end || v < 0)