]> git.pld-linux.org Git - packages/xfig.git/blame - xfig-3.2.5b-zoom-during-edit.patch
- updated to 3.2.6a
[packages/xfig.git] / xfig-3.2.5b-zoom-during-edit.patch
CommitLineData
0c8721ff
AM
1commit fc4381d7c3e8d7440a3e33430d24ebf217a99142
2Author: Vladislav Zavjalov <slazav@altlinux.org>
3Date: Thu Oct 2 12:24:04 2008 +0400
4
5 fix calling null function (todo: problem with initialize_char_handler after resize?)
6
7Fixes crash. To reproduce create some object, zoom in so that it does not fit
8the screen, start another edit and press Ctrl+Z.
9
07d686d4
JB
10--- a/xfig/src/u_redraw.c
11+++ b/xfig/src/u_redraw.c
0c8721ff
AM
12@@ -434,7 +434,7 @@ redisplay_curobj()
13 }
14 } else {
15 /* editing an object, just refresh it as is */
16- (*canvas_ref_proc)(cur_x, cur_y);
17+ if (canvas_ref_proc) (*canvas_ref_proc)(cur_x, cur_y);
18 }
19 }
20
This page took 0.164782 seconds and 4 git commands to generate.