diff options
author | Martin Wilke <miwi@FreeBSD.org> | 2014-05-17 08:42:00 +0000 |
---|---|---|
committer | Martin Wilke <miwi@FreeBSD.org> | 2014-05-17 08:42:00 +0000 |
commit | 8721a01043f89cf33522b8c9479a0e497cb95cb1 (patch) | |
tree | e420c140198051fd5fcd6f34341ca377ac2de33c /x11-clocks/glclock/files/patch-MString.H | |
parent | 8f96df49daf2293a806533d82d5180b3b4518338 (diff) | |
download | ports-8721a01043f89cf33522b8c9479a0e497cb95cb1.tar.gz ports-8721a01043f89cf33522b8c9479a0e497cb95cb1.zip |
Notes
Diffstat (limited to 'x11-clocks/glclock/files/patch-MString.H')
-rw-r--r-- | x11-clocks/glclock/files/patch-MString.H | 34 |
1 files changed, 21 insertions, 13 deletions
diff --git a/x11-clocks/glclock/files/patch-MString.H b/x11-clocks/glclock/files/patch-MString.H index dc45ba8df70c..a64f02735c5d 100644 --- a/x11-clocks/glclock/files/patch-MString.H +++ b/x11-clocks/glclock/files/patch-MString.H @@ -1,5 +1,5 @@ ---- MString.H.orig Thu Jun 22 16:58:26 2000 -+++ MString.H Sun Oct 1 22:32:31 2006 +--- MString.H.orig 2000-06-22 23:58:26.000000000 +0900 ++++ MString.H 2014-04-01 01:01:42.000000000 +0900 @@ -66,7 +66,7 @@ #ifndef ___STRING_H___ #define ___STRING_H___ @@ -17,14 +17,22 @@ //#define STRING_DEBUG -@@ -407,6 +408,10 @@ - friend String& Cut(String s) ; - friend String& Cut(const char *s) ; - } ; -+ -+String Mid(String, int, int) ; -+String Left(const String&, int) ; -+String Right(const String&, int) ; - - // 整数から String へ - String IntToString(int i) ; +@@ -307,15 +308,15 @@ + + // m 文字目から n 文字 + String& Mid(int m, int n = 1) ; +- friend String Mid(String s, int m, int n = 1) ; ++ friend String Mid(String s, int m, int n) ; + + // 左から n 文字 + String& Left(int n = 1) ; +- friend String Left(const String& s, int n = 1) ; ++ friend String Left(const String& s, int n) ; + + // 右から n 文字 + String& Right(int n = 1) ; +- friend String Right(const String& s, int n = 1) ; ++ friend String Right(const String& s, int n) ; + + String FileDirectory() const ; + String FileNamePart() const ; |