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

13 lines
862 B
Plaintext

$OpenBSD: patch-fltk_wstring_h,v 1.1 2010/05/22 21:23:33 espie Exp $
--- 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; };