Diff of /sys_ansi.c [ab0eb1] .. [e78e40]  Maximize  Restore

Switch to side-by-side view

--- a/sys_ansi.c
+++ b/sys_ansi.c
@@ -25,6 +25,11 @@
 //------------------ Public functions required by filter.h -------------------------------
 
 
+// Required by filter.h but not used in the sys_ansi build of panotools.
+// just return and do nothing
+void SetWindowOwner(void * Owner) {return;}
+void CenterDialog(void * hDlg) {return;}
+
 
 void filter_main( TrformStr *TrPtr, struct size_Prefs *spref)
 {
@@ -50,9 +55,12 @@
 	  toPrint = fmt;
 	}
 
-	if( JavaUI ){
+#ifdef HasJava
+if( JavaUI ){
 	  JPrintError( toPrint );
-	}else{
+	}else
+#endif
+  {
 	  printf(toPrint);
 
 	  // Add an end of line if none is provide

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

Sign up for the SourceForge newsletter:





No, thanks