Code

Misnamed var popen_mode_cur
authorishmal <ishmal@users.sourceforge.net>
Thu, 1 Jun 2006 00:03:09 +0000 (00:03 +0000)
committerishmal <ishmal@users.sourceforge.net>
Thu, 1 Jun 2006 00:03:09 +0000 (00:03 +0000)
src/extension/implementation/script.cpp

index ae3c243ce968b7a449a961f132b45bf6f45a7088..11544463dd11021e10ad0b3921d1df5c6f8f045a 100644 (file)
@@ -1190,10 +1190,10 @@ bool pipe_t::open(const Glib::ustring &command,
     Glib::ustring popen_mode;
 
     if ( (mode_p & mode_read) != 0 )
-        popen_mode_cur.append("r");
+        popen_mode.append("r");
 
     if ( (mode_p & mode_write) != 0 )
-        popen_mode_cur.append("w");
+        popen_mode.append("w");
 
     // Get the commandline to be run
     Glib::ustring pipeStr = command;