diff options
author | Alex Dupre <ale@FreeBSD.org> | 2006-04-21 19:38:50 +0000 |
---|---|---|
committer | Alex Dupre <ale@FreeBSD.org> | 2006-04-21 19:38:50 +0000 |
commit | 503c332b132411fe9c89637fa85dc0bd5c0ba2a5 (patch) | |
tree | d5ac8aa0583e7103565eb48a1173543b8daf1d94 /x11 | |
parent | Make patchable. (diff) |
Another fix for 4.X.
Submitted by: RSIBreak author
Notes
Notes:
svn path=/head/; revision=160090
Diffstat (limited to 'x11')
-rw-r--r-- | x11/rsibreak-kde4/files/patch-rsibreak_src_rsiglobals.cpp | 16 | ||||
-rw-r--r-- | x11/rsibreak/files/patch-rsibreak_src_rsiglobals.cpp | 16 |
2 files changed, 32 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 ) diff --git a/x11/rsibreak/files/patch-rsibreak_src_rsiglobals.cpp b/x11/rsibreak/files/patch-rsibreak_src_rsiglobals.cpp new file mode 100644 index 000000000000..e988c9ff0d79 --- /dev/null +++ b/x11/rsibreak/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 ) |