- if (3 == sscanf (s, "%lf %lf %lf", &hh, &ss, &vv, &dummy)) {
+ if (3 == sscanf (s, "%lf %lf %lf %c", &hh, &ss, &vv, &dummy)) {
hue = hh, sat = ss, val = vv;
hsv2rgb(hue,sat,val,&r,&g,&b);
}
hue = hh, sat = ss, val = vv;
hsv2rgb(hue,sat,val,&r,&g,&b);
}
{ "-wobble", ".wobble", XrmoptionSepArg, 0 },
{ "-cycle", ".cycle", XrmoptionSepArg, 0 },
{ "-mag", ".mag", XrmoptionSepArg, 0 },
{ "-wobble", ".wobble", XrmoptionSepArg, 0 },
{ "-cycle", ".cycle", XrmoptionSepArg, 0 },
{ "-mag", ".mag", XrmoptionSepArg, 0 },
- { "-minutes", ".minutes", XrmoptionSepArg, 0 },
+ { "-minutes", ".minutes", XrmoptionNoArg, "True" },
+ { "-no-minutes", ".minutes", XrmoptionNoArg, "False" },
{ "-delay", ".delay", XrmoptionSepArg, 0 },
{ "-fast", ".fast", XrmoptionSepArg, 0 },
{ "-colcycle", ".colcycle", XrmoptionSepArg, 0 },
{ "-delay", ".delay", XrmoptionSepArg, 0 },
{ "-fast", ".fast", XrmoptionSepArg, 0 },
{ "-colcycle", ".colcycle", XrmoptionSepArg, 0 },
- int px,py,junk,kb/*,wai*/;
+ int px,py,junk/*,wai*/;
+ unsigned int kb;