diff options
Diffstat (limited to 'cad/mars/files/patch-sim_file.c')
-rw-r--r-- | cad/mars/files/patch-sim_file.c | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/cad/mars/files/patch-sim_file.c b/cad/mars/files/patch-sim_file.c new file mode 100644 index 000000000000..1c01066cca5c --- /dev/null +++ b/cad/mars/files/patch-sim_file.c @@ -0,0 +1,11 @@ +--- sim/file.c.orig 2007-11-23 23:15:16.000000000 +0100 ++++ sim/file.c 2007-11-23 23:16:18.000000000 +0100 +@@ -252,7 +252,7 @@ + + #ifndef NoX + if (doXstuff) { +- if (((COMP_OBJECT) c1->co_picture = (COMP_OBJECT)pop_comp_window((COMPONENT *)c1,xpos, ypos)) == (COMP_OBJECT) NULL) { ++ if (( c1->co_picture = (COMP_OBJECT)pop_comp_window((COMPONENT *)c1,xpos, ypos)) == NULL) { + + #ifdef DEBUG + dbg_write(debug_log, DBG_ERR, (Component *)NULL, |