Commit 7284f1ff authored by Jose Maria Celorio's avatar Jose Maria Celorio

fix problems for compilation on IRIX reported by David Kaelbling <drk@sgi.com>

parent 52150532
......@@ -5,6 +5,9 @@ gedit is a light text editor for the Gnome desktop.
Download at :
http://sourceforge.net/project/filelist.php?group_id=7
Webpage :
http://gedit.sourceforge.net
What's new :
Bugs
......
......@@ -257,7 +257,7 @@ find_again_execute (void)
text = gedit_search_info.last_text_searched;
if (text == NULL)
{
gedit_flash_va (_("Can't find again. There is not a text string to search for."),line_found);
gedit_flash_va (_("Can't find again. There is not a text string to search for."));
return;
}
case_sensitive = gedit_search_info.last_text_searched_case_sensitive;
......
......@@ -53,6 +53,11 @@ extern gint debug_commands;
extern gint debug_recent;
extern gint debug_window;
/* __FUNCTION_ is not defined in Irix according to David Kaelbling <drk@sgi.com>*/
#ifndef __GNUC__
#define __FUNCTION__ ""
#endif
#define DEBUG_VIEW GEDIT_DEBUG_VIEW, __FILE__, __LINE__, __FUNCTION__
#define DEBUG_UNDO GEDIT_DEBUG_UNDO, __FILE__, __LINE__, __FUNCTION__
#define DEBUG_SEARCH GEDIT_DEBUG_SEARCH, __FILE__, __LINE__, __FUNCTION__
......
......@@ -7,7 +7,7 @@
msgid ""
msgstr ""
"Project-Id-Version: gedit 0.7.1\n"
"POT-Creation-Date: 2000-07-09 15:28-0500\n"
"POT-Creation-Date: 2000-07-09 17:00-0500\n"
"PO-Revision-Date: 2000-06-08 21:55+0100\n"
"Last-Translator: Carlos Perell Marn <carpema@hispalinux.es>\n"
"Language-Team: Spanish <es@li.org>\n"
......
......@@ -257,7 +257,7 @@ find_again_execute (void)
text = gedit_search_info.last_text_searched;
if (text == NULL)
{
gedit_flash_va (_("Can't find again. There is not a text string to search for."),line_found);
gedit_flash_va (_("Can't find again. There is not a text string to search for."));
return;
}
case_sensitive = gedit_search_info.last_text_searched_case_sensitive;
......
......@@ -53,6 +53,11 @@ extern gint debug_commands;
extern gint debug_recent;
extern gint debug_window;
/* __FUNCTION_ is not defined in Irix according to David Kaelbling <drk@sgi.com>*/
#ifndef __GNUC__
#define __FUNCTION__ ""
#endif
#define DEBUG_VIEW GEDIT_DEBUG_VIEW, __FILE__, __LINE__, __FUNCTION__
#define DEBUG_UNDO GEDIT_DEBUG_UNDO, __FILE__, __LINE__, __FUNCTION__
#define DEBUG_SEARCH GEDIT_DEBUG_SEARCH, __FILE__, __LINE__, __FUNCTION__
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment