[rkward-cvs] rkward/rkward/rbackend rcommand.cpp,1.10,1.11

Thomas Friedrichsmeier tfry at users.sourceforge.net
Wed Sep 13 13:09:50 UTC 2006


Update of /cvsroot/rkward/rkward/rkward/rbackend
In directory sc8-pr-cvs9.sourceforge.net:/tmp/cvs-serv19201/rkward/rbackend

Modified Files:
	rcommand.cpp 
Log Message:
Don't run empty plugin commands

Index: rcommand.cpp
===================================================================
RCS file: /cvsroot/rkward/rkward/rkward/rbackend/rcommand.cpp,v
retrieving revision 1.10
retrieving revision 1.11
diff -C2 -d -r1.10 -r1.11
*** rcommand.cpp	10 Sep 2006 18:49:01 -0000	1.10
--- rcommand.cpp	13 Sep 2006 13:09:48 -0000	1.11
***************
*** 35,41 ****
  		next_id = 0;
  	}
- 	_command = command;
  	_type = type;
  	_flags = flags;
  	status = 0;
  	string_data = 0;
--- 35,43 ----
  		next_id = 0;
  	}
  	_type = type;
  	_flags = flags;
+ 	if (type & Plugin) _command = command.stripWhiteSpace ();
+ 	else _command = command;
+ 	if (_command.isEmpty ()) _type |= EmptyCommand;
  	status = 0;
  	string_data = 0;





More information about the rkward-tracker mailing list