ports/textproc/rtfx/files/extra-patch-src::sablo.h-gcc342
Cheng-Lung Sung 74f57da8f4 fix build error under gcc 3.4.2.
PR:		ports/70443
Approved by:	vanilla (co-mentor)
2004-08-26 04:29:03 +00:00

15 lines
278 B
Text

--- src/sablo.h.orig Sat Jul 24 12:18:06 2004
+++ src/sablo.h Sat Aug 14 14:42:45 2004
@@ -146,10 +146,10 @@
addref();
}
- Ref(C* ptr, bool addref)
+ Ref(C* ptr, bool has_addref)
{
m_ptr = ptr;
- if(addref)
+ if(has_addref)
addref();
}