Commit 5fdcfa09 authored by Jody Goldberg's avatar Jody Goldberg Committed by Jody Goldberg

dup the string. (cmd_insert_cols) : ditto.

2002-01-04  Jody Goldberg <jody@gnome.org>

	* src/commands.c (cmd_insert_rows) : dup the string.
	(cmd_insert_cols) : ditto.
parent c93eb9a4
2002-01-04 Jody Goldberg <jody@gnome.org>
* src/commands.c (cmd_insert_rows) : dup the string.
(cmd_insert_cols) : ditto.
* src/eval.c (dependent_unlink) : add some safety. Default to A1 if
no position is supplied.
......
......@@ -8,6 +8,9 @@ Andreas:
Jody:
* Some missing '...' in menu names
* Rename 'Summary' menu -> 'Properties'
* Support graphs with no data.
* Fix CRASH!! due to last minute translation fix.
* Some warning suppression for s390.
Morten:
* Added DATE2UNIX and UNIX2DATE.
......
2002-01-04 Jody Goldberg <jody@gnome.org>
* src/commands.c (cmd_insert_rows) : dup the string.
(cmd_insert_cols) : ditto.
* src/eval.c (dependent_unlink) : add some safety. Default to A1 if
no position is supplied.
......
2002-01-04 Jody Goldberg <jody@gnome.org>
* src/commands.c (cmd_insert_rows) : dup the string.
(cmd_insert_cols) : ditto.
* src/eval.c (dependent_unlink) : add some safety. Default to A1 if
no position is supplied.
......
2002-01-04 Jody Goldberg <jody@gnome.org>
* src/commands.c (cmd_insert_rows) : dup the string.
(cmd_insert_cols) : ditto.
* src/eval.c (dependent_unlink) : add some safety. Default to A1 if
no position is supplied.
......
......@@ -1088,7 +1088,7 @@ cmd_insert_cols (WorkbookControl *wbc,
? _("Inserting %d columns before %s")
: _("Inserting %d column before %s"),
count, col_name (start_col));
return cmd_ins_del_colrow (wbc, sheet, TRUE, TRUE, mesg,
return cmd_ins_del_colrow (wbc, sheet, TRUE, TRUE, g_strdup (mesg),
start_col, count);
}
......@@ -1104,7 +1104,7 @@ cmd_insert_rows (WorkbookControl *wbc,
? _("Inserting %d rows before %s")
: _("Inserting %d row before %s"),
count, row_name (start_row));
return cmd_ins_del_colrow (wbc, sheet, FALSE, TRUE, mesg,
return cmd_ins_del_colrow (wbc, sheet, FALSE, TRUE, g_strdup (mesg),
start_row, count);
}
......
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