diff src/window.c @ 1000:4fe8f9656107

For the sake of consistency, use glib basic types everywhere.
author zas_
date Tue, 26 Aug 2008 22:22:51 +0000
parents 6ca2c5fd7b13
children 88ebc61e33ae
line wrap: on
line diff
--- a/src/window.c	Tue Aug 26 21:19:33 2008 +0000
+++ b/src/window.c	Tue Aug 26 22:22:51 2008 +0000
@@ -97,7 +97,7 @@
 	f = popen(command, "r");
 	if (!f) return NULL;
 
-	while ((l = fread(buf, sizeof(char), sizeof(buf), f)) > 0)
+	while ((l = fread(buf, sizeof(gchar), sizeof(buf), f)) > 0)
 		{
 		if (!result)
 			{