openbsd-ports/x11/fleditor/patches/patch-FL_wstring_h
2010-05-22 21:23:33 +00:00

13 lines
856 B
Plaintext

$OpenBSD: patch-FL_wstring_h,v 1.1 2010/05/22 21:23:33 espie Exp $
--- FL/wstring.h.orig Sat May 22 23:20:40 2010
+++ FL/wstring.h Sat May 22 23:20:49 2010
@@ -88,7 +88,7 @@ class wString
long operator>(const char *str) const { return (strcmp(buffer,str) > 0); };
long operator==(const char *str) const { return (strcmp(buffer,str) == 0); };
wString& operator=(const char *str) { SSet(str); return (*this); };
- RCLDLL wString& wString::operator=(const wString& str) { SSet(str.buffer); return (*this); }
+ RCLDLL wString& operator=(const wString& str) { SSet(str.buffer); return (*this); }
wString& operator=(const unsigned char *str) { SSet((const char *)str); return *this; };
operator const char *() const { return Get(); };
wString& ToUpper() { strupr(buffer); return *this; };