[rkward-cvs] rkward/rkward/plugins/00saveload/save/save code.php,1.1,1.2

Thomas Friedrichsmeier tfry at users.sourceforge.net
Fri Apr 14 13:56:38 UTC 2006


Update of /cvsroot/rkward/rkward/rkward/plugins/00saveload/save/save
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv26723/save/save

Modified Files:
	code.php 
Log Message:
Avoid generating empty lines in plugins, as those produce strange behavior

Index: code.php
===================================================================
RCS file: /cvsroot/rkward/rkward/rkward/plugins/00saveload/save/save/code.php,v
retrieving revision 1.1
retrieving revision 1.2
diff -C2 -d -r1.1 -r1.2
*** code.php	5 Apr 2005 09:52:25 -0000	1.1
--- code.php	14 Apr 2006 13:56:36 -0000	1.2
***************
*** 6,12 ****
  $vars = str_replace ("\n", ",", trim (getRK_val ("data"))) ;
  ?>
- 
  save ( <? echo ($vars) ; ?> , file =  "<? getRK("file") ; ?>" , ascii =  <? getRK("ascii") ; ?> , compress =  <? getRK("compress") ; ?> )
- 
  <?
  	}
--- 6,10 ----
***************
*** 14,27 ****
  	function printout () {
  	// produce the output
- ?>
- 
- <?
  	}
  	
  	function cleanup () {
- ?>
- 
- 
- <?
  	}
  ?>
--- 12,18 ----





More information about the rkward-tracker mailing list