[rkward-cvs] rkward/rkward/rbackend rthread.cpp,1.30,1.31

Thomas Friedrichsmeier tfry at users.sourceforge.net
Wed Apr 5 10:05:29 UTC 2006


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

Modified Files:
	rthread.cpp 
Log Message:
Attempt to deal more correctly with locales

Index: rthread.cpp
===================================================================
RCS file: /cvsroot/rkward/rkward/rkward/rbackend/rthread.cpp,v
retrieving revision 1.30
retrieving revision 1.31
diff -C2 -d -r1.30 -r1.31
*** rthread.cpp	13 Nov 2005 14:31:29 -0000	1.30
--- rthread.cpp	5 Apr 2006 10:05:25 -0000	1.31
***************
*** 138,142 ****
  		
  		int ctype = command->type ();
! 		const char *ccommand = command->command ().latin1 ();
  		
  		RK_DO (qDebug ("running command: %s", ccommand), RBACKEND, DL_DEBUG);
--- 138,143 ----
  		
  		int ctype = command->type ();
! 		QCString localc = command->command ().local8Bit ();		// needed so the string below does not go out of scope
! 		const char *ccommand = localc;
  		
  		RK_DO (qDebug ("running command: %s", ccommand), RBACKEND, DL_DEBUG);





More information about the rkward-tracker mailing list