Diff of /pteditor.c [8ff2b4] .. [6158e5]  Maximize  Restore

Switch to side-by-side view

--- a/pteditor.c
+++ b/pteditor.c
@@ -163,7 +163,8 @@
 
 	if( readPrefs( (char*) &spref, _sizep ) != 0 )
 		SetSizeDefaults	( &spref );
-	
+
+	memset(&Tr, 0, sizeof(TrformStr));
 	Tr.src 	= pano;
 	Tr.dest	= &dest;
 
@@ -255,6 +256,7 @@
 	if( readPrefs( (char*) &spref, _sizep ) != 0 )
 		SetSizeDefaults	( &spref );
 	
+  memset(&Tr, 0, sizeof(TrformStr));
 	Tr.src 	= &src;
 	Tr.dest	= &dest;
 

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:





No, thanks