openbsd-ports/x11/fleditor/patches/patch-fltk_wstring_h
2022-03-11 20:15:18 +00:00

12 lines
784 B
Plaintext

--- fltk/wstring.h.orig Sat May 22 23:21:41 2010
+++ fltk/wstring.h Sat May 22 23:21:47 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; };