Crash op AONL HWU-00.dwf
svn path=/Slnkdwf/trunk/; revision=12539
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
// Zorg dat versies alfabetisch altijd op elkaar volgen!
|
||||
#define SLNK_MAJOR_VERSION 2
|
||||
#define SLNK_MINOR_VERSION 83
|
||||
#define SLNK_MINOR_VERSION 84
|
||||
#define SLNK_BUILD_VERSION 0
|
||||
|
||||
// Define resource strings
|
||||
|
||||
@@ -341,7 +341,10 @@ WT_Result CWhipFile::my_process_layer (WT_Layer & layer, WT_File & file)
|
||||
{
|
||||
WT_Integer32 layer_num = layer.layer_num();
|
||||
ll = file.layer_list().find_layer_from_index(layer_num);
|
||||
layer_name = ll->layer_name().ascii();
|
||||
if (ll)
|
||||
layer_name = ll->layer_name().ascii();
|
||||
else
|
||||
myTRACE("Vreemd, laag %d niet teruggevonden", layer_num);
|
||||
}
|
||||
|
||||
if (ll)
|
||||
@@ -552,6 +555,7 @@ HRESULT CWhipFile::SerializePlan(WT_File & my_plan_file, myWT_File & my_file, do
|
||||
my_plan_file.set_layer_action(my_process_layer); // Override default processing
|
||||
// Do the actual reading.
|
||||
CString last_layer;
|
||||
m_activeLayerName = ""; // reset
|
||||
|
||||
while ((result = my_plan_file.process_next_object()) == WT_Result::Success)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user