Merge branch '1826_fixup_without_edit'
* 1826_fixup_without_edit: Ticket #1826: fixing build w/o internal edit
Этот коммит содержится в:
Коммит
abcc78696b
@ -304,6 +304,8 @@ do_edit_at_line (const char *what, int start_line)
|
|||||||
if (use_internal_edit)
|
if (use_internal_edit)
|
||||||
edit_file (what, start_line);
|
edit_file (what, start_line);
|
||||||
else
|
else
|
||||||
|
#else
|
||||||
|
(void) start_line;
|
||||||
#endif /* USE_INTERNAL_EDIT */
|
#endif /* USE_INTERNAL_EDIT */
|
||||||
{
|
{
|
||||||
if (editor == NULL) {
|
if (editor == NULL) {
|
||||||
|
@ -183,6 +183,10 @@ expand_format (WEdit *edit_widget, char c, int lc_quote)
|
|||||||
char *result;
|
char *result;
|
||||||
char c_lc;
|
char c_lc;
|
||||||
|
|
||||||
|
#ifndef USE_INTERNAL_EDIT
|
||||||
|
(void) edit_widget;
|
||||||
|
#endif
|
||||||
|
|
||||||
if (c == '%')
|
if (c == '%')
|
||||||
return g_strdup ("%");
|
return g_strdup ("%");
|
||||||
|
|
||||||
|
Загрузка…
x
Ссылка в новой задаче
Block a user