aboutsummaryrefslogtreecommitdiff
path: root/x11/rsibreak-kde4
diff options
context:
space:
mode:
authorAlex Dupre <ale@FreeBSD.org>2006-04-21 19:38:50 +0000
committerAlex Dupre <ale@FreeBSD.org>2006-04-21 19:38:50 +0000
commit503c332b132411fe9c89637fa85dc0bd5c0ba2a5 (patch)
treed5ac8aa0583e7103565eb48a1173543b8daf1d94 /x11/rsibreak-kde4
parent944de0902bd4170205bfc024275fde1b88abebfa (diff)
downloadports-503c332b132411fe9c89637fa85dc0bd5c0ba2a5.tar.gz
ports-503c332b132411fe9c89637fa85dc0bd5c0ba2a5.zip
Another fix for 4.X.
Submitted by: RSIBreak author
Notes
Notes: svn path=/head/; revision=160090
Diffstat (limited to 'x11/rsibreak-kde4')
-rw-r--r--x11/rsibreak-kde4/files/patch-rsibreak_src_rsiglobals.cpp16
1 files changed, 16 insertions, 0 deletions
diff --git a/x11/rsibreak-kde4/files/patch-rsibreak_src_rsiglobals.cpp b/x11/rsibreak-kde4/files/patch-rsibreak_src_rsiglobals.cpp
new file mode 100644
index 000000000000..e988c9ff0d79
--- /dev/null
+++ b/x11/rsibreak-kde4/files/patch-rsibreak_src_rsiglobals.cpp
@@ -0,0 +1,16 @@
+--- rsibreak/src/rsiglobals.cpp.orig Fri Apr 21 21:35:42 2006
++++ rsibreak/src/rsiglobals.cpp Fri Apr 21 21:36:17 2006
+@@ -72,11 +72,11 @@ QString RSIGlobals::formatSeconds( const
+ sString1 = i18n("One second","%n seconds", secs);
+ sString2 = i18n("one second","%n seconds", secs);
+
+- if ( hours > 0 and mins >0 )
++ if ( hours > 0 && mins >0 )
+ return(i18n("Arguments: hours, minutes "
+ "both as you defined earlier",
+ "%1 and %2").arg(hString, mString2) );
+- else if ( hours > 0 and mins == 0 )
++ else if ( hours > 0 && mins == 0 )
+ return( hString );
+
+ else if ( hours == 0 )