From b8b56debeeb17036be2a72214766c2d708227a6c Mon Sep 17 00:00:00 2001 From: mfrasca <> Date: Wed, 25 Oct 2006 06:52:07 +0000 Subject: [PATCH] shifting the text one pixel to the right. needed when the leading digit is not a 1. --- examples/pywmdatetime.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples/pywmdatetime.py b/examples/pywmdatetime.py index 7f601fb..b29b8fd 100755 --- a/examples/pywmdatetime.py +++ b/examples/pywmdatetime.py @@ -83,7 +83,7 @@ def addTimeString(s, x, y): if not c.isdigit(): charX = 70 charW = 3 - wmdocklib.copyXPMArea(charX, charY, charW, 10, x+xOffset, y+yOffset) + wmdocklib.copyXPMArea(charX, charY, charW, 10, x+xOffset+1, y+yOffset) x += charW def clearLine(y):