Commit 88a57a1e authored by Robert Sprowson's avatar Robert Sprowson

Fix data abort when adjust clicking on one sprite immediately after loading

Uninitialised 'transprite' member now set to NULL.

Version 2.13. Tagged as 'Paint-2_13'
parent 938add00
...@@ -11,13 +11,13 @@ ...@@ -11,13 +11,13 @@
GBLS Module_HelpVersion GBLS Module_HelpVersion
GBLS Module_ComponentName GBLS Module_ComponentName
GBLS Module_ComponentPath GBLS Module_ComponentPath
Module_MajorVersion SETS "2.12" Module_MajorVersion SETS "2.13"
Module_Version SETA 212 Module_Version SETA 213
Module_MinorVersion SETS "" Module_MinorVersion SETS ""
Module_Date SETS "22 Aug 2012" Module_Date SETS "05 Sep 2012"
Module_ApplicationDate SETS "22-Aug-12" Module_ApplicationDate SETS "05-Sep-12"
Module_ComponentName SETS "Paint" Module_ComponentName SETS "Paint"
Module_ComponentPath SETS "castle/RiscOS/Sources/Apps/Paint" Module_ComponentPath SETS "castle/RiscOS/Sources/Apps/Paint"
Module_FullVersion SETS "2.12" Module_FullVersion SETS "2.13"
Module_HelpVersion SETS "2.12 (22 Aug 2012)" Module_HelpVersion SETS "2.13 (05 Sep 2012)"
END END
/* (2.12) /* (2.13)
* *
* This file is automatically maintained by srccommit, do not edit manually. * This file is automatically maintained by srccommit, do not edit manually.
* Last processed by srccommit version: 1.1. * Last processed by srccommit version: 1.1.
* *
*/ */
#define Module_MajorVersion_CMHG 2.12 #define Module_MajorVersion_CMHG 2.13
#define Module_MinorVersion_CMHG #define Module_MinorVersion_CMHG
#define Module_Date_CMHG 22 Aug 2012 #define Module_Date_CMHG 05 Sep 2012
#define Module_MajorVersion "2.12" #define Module_MajorVersion "2.13"
#define Module_Version 212 #define Module_Version 213
#define Module_MinorVersion "" #define Module_MinorVersion ""
#define Module_Date "22 Aug 2012" #define Module_Date "05 Sep 2012"
#define Module_ApplicationDate "22-Aug-12" #define Module_ApplicationDate "05-Sep-12"
#define Module_ComponentName "Paint" #define Module_ComponentName "Paint"
#define Module_ComponentPath "castle/RiscOS/Sources/Apps/Paint" #define Module_ComponentPath "castle/RiscOS/Sources/Apps/Paint"
#define Module_FullVersion "2.12" #define Module_FullVersion "2.13"
#define Module_HelpVersion "2.12 (22 Aug 2012)" #define Module_HelpVersion "2.13 (05 Sep 2012)"
#define Module_LibraryVersionInfo "2:12" #define Module_LibraryVersionInfo "2:13"
...@@ -2711,15 +2711,16 @@ static main_window *New_Window (BOOL open) ...@@ -2711,15 +2711,16 @@ static main_window *New_Window (BOOL open)
ftracef0 ("New_Window: calling win_active_inc\n"); ftracef0 ("New_Window: calling win_active_inc\n");
win_activeinc (); win_activeinc ();
window->selection.count=0; window->selection.count = 0;
window->selection.flags=0; window->selection.flags = 0;
window->selection.transsprite = NULL;
window->link = main_windows; window->link = main_windows;
main_windows = window; main_windows = window;
window->handle = w; window->handle = w;
window->tag = main_window_is_file; window->tag = main_window_is_file;
window->data = (main_info_block *) file; window->data = (main_info_block *) file;
file->filename = NULL; /* indicates window is "untitled" */ file->filename = NULL; /* indicates window is "untitled" */
file->window = window; file->window = window;
ftracef2 ("New_Window: created main_file at " ftracef2 ("New_Window: created main_file at "
"0x%X, spritearea at 0x%X (flexing)\n", file, file->spritearea); "0x%X, spritearea at 0x%X (flexing)\n", file, file->spritearea);
......
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