diff options
author | Brian Bidulock | 2018-05-23 21:03:13 -0600 |
---|---|---|
committer | Brian Bidulock | 2018-05-23 21:03:13 -0600 |
commit | b30f4c12527e8c33dafc2dcccf6e9bfb3d44b56c (patch) | |
tree | 26ba0902e95861fa3eafd2094f0595846b576447 /fix_12_year_display.patch | |
parent | 27ebdaa9f67af26d872469e4ed8a50d1ae93b2c2 (diff) | |
download | aur-b30f4c12527e8c33dafc2dcccf6e9bfb3d44b56c.tar.gz |
uppkg
Diffstat (limited to 'fix_12_year_display.patch')
-rw-r--r-- | fix_12_year_display.patch | 24 |
1 files changed, 0 insertions, 24 deletions
diff --git a/fix_12_year_display.patch b/fix_12_year_display.patch deleted file mode 100644 index 27609410b157..000000000000 --- a/fix_12_year_display.patch +++ /dev/null @@ -1,24 +0,0 @@ -Description: Fix display when both -12 and -year are given -Author: Vino Fernando Crescini <jcrescin@cit.uws.edu.au> -Bug-Debian: http://bugs.debian.org/228985 - -Index: wmclock-1.0.14/wmclock.c -=================================================================== ---- wmclock-1.0.14.orig/wmclock.c 2010-12-22 13:12:28.000000000 +0100 -+++ wmclock-1.0.14/wmclock.c 2011-06-02 12:11:51.233840631 +0200 -@@ -849,7 +849,14 @@ - #endif /* !ONLY_SHAPED_WINDOW */ - for (i = 0; i < NUM_TIME_POSITIONS; i++) - { -- xPos[i] += enable12HourClock ? timePos24[i] : timePos12[i]; -+ if (enable12HourClock && (!enableYearDisplay)) -+ { -+ xPos[i] += timePos24[i]; -+ } -+ else -+ { -+ xPos[i] += timePos12[i]; -+ } - } - - /* Open the display */ |