|
From: <mla...@us...> - 2009-04-24 09:38:15
|
Revision: 492
http://g15daemon.svn.sourceforge.net/g15daemon/?rev=492&view=rev
Author: mlampard
Date: 2009-04-24 09:38:07 +0000 (Fri, 24 Apr 2009)
Log Message:
-----------
small cleanup of clock plugin
Modified Paths:
--------------
trunk/g15daemon-wip/plugins/g15_plugin_clock.c
Modified: trunk/g15daemon-wip/plugins/g15_plugin_clock.c
===================================================================
--- trunk/g15daemon-wip/plugins/g15_plugin_clock.c 2009-04-24 07:36:14 UTC (rev 491)
+++ trunk/g15daemon-wip/plugins/g15_plugin_clock.c 2009-04-24 09:38:07 UTC (rev 492)
@@ -136,7 +136,6 @@
static int draw_digital(g15canvas *canvas)
{
- int narrows=0;
char buf[10];
char ampm[3];
int off = 0;
@@ -162,8 +161,6 @@
strftime(buf,6,"%l:%M",localtime(&currtime));
strftime(ampm,3,"%p",localtime(&currtime));
}
- if(buf[0]==49)
- narrows=1;
if(buf[0]==' ')
off++;
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|