Spawn.vala
authorAlan Knowles <alan@roojs.com>
Fri, 2 May 2014 09:47:39 +0000 (17:47 +0800)
committerAlan Knowles <alan@roojs.com>
Fri, 2 May 2014 09:47:39 +0000 (17:47 +0800)
Spawn.vala

index 4009fac..4df27be 100644 (file)
@@ -361,7 +361,7 @@ public class Spawn : Object
      */
     private int write(string str) // write a line to 
     {
-        if (this.in_ch is null) {
+        if (this.in_ch == null) {
             return 0; // input is closed
         }
         //print("write: " + str);