HEX
Server: Apache/2.4.41 (FreeBSD) OpenSSL/1.0.2s mod_fcgid/2.3.9
System: FreeBSD salazo 12.0-RELEASE-p1303-ZFS hostBSD 12.0-RELEASE-p1303-ZFS DMR amd64
User: admin (1000)
PHP: 7.4.3
Disabled: NONE
Upload Files
File: /usr/ports/devel/clanlib1/files/patch-Sources_GUI_inputbox__generic.cpp
--- Sources/GUI/inputbox_generic.cpp.orig	2008-04-18 11:16:05 UTC
+++ Sources/GUI/inputbox_generic.cpp
@@ -84,7 +84,7 @@ int CL_InputUndo::doUndo( std::string & 
 
 int CL_InputUndo::doRedo( std::string & text )
 {
-	if (!canRedo()) return NULL;
+	if (!canRedo()) return 0;
 
 	OneUndo const & u = undo_array[cur_pos];