[hackers] [wmii] Fix randomly reverted files. || Kris Maglione

From: <hg_AT_suckless.org>
Date: Wed, 2 Jun 2010 05:30:55 +0000 (UTC)

changeset: 2688:22a555b8c0ff
tag: tip
user: Kris Maglione <kris_AT_suckless.org>
date: Wed Jun 02 01:30:44 2010 -0400
files: lib/libstuff/x11/properties/changeprop_char.c lib/libstuff/x11/properties/getprop_textlist.c
description:
Fix randomly reverted files.

diff -r 96bacb89dc40 -r 22a555b8c0ff lib/libstuff/x11/properties/changeprop_char.c
--- a/lib/libstuff/x11/properties/changeprop_char.c Tue Jun 01 23:05:19 2010 -0400
+++ b/lib/libstuff/x11/properties/changeprop_char.c Wed Jun 02 01:30:44 2010 -0400
@@ -4,6 +4,6 @@
 #include "../x11.h"
 
 void
-changeprop_char(Window *w, const char *prop, const char *type, char data[], int len) {
- changeproperty(w, prop, type, 8, (uchar*)data, len);
+changeprop_char(Window *w, const char *prop, const char *type, const char data[], int len) {
+ changeproperty(w, prop, type, 8, (const uchar*)data, len);
 }
diff -r 96bacb89dc40 -r 22a555b8c0ff lib/libstuff/x11/properties/getprop_textlist.c
--- a/lib/libstuff/x11/properties/getprop_textlist.c Tue Jun 01 23:05:19 2010 -0400
+++ b/lib/libstuff/x11/properties/getprop_textlist.c Wed Jun 02 01:30:44 2010 -0400
@@ -4,7 +4,7 @@
 #include "../x11.h"
 
 int
-getprop_textlist(Window *w, char *name, char **ret[]) {
+getprop_textlist(Window *w, const char *name, char **ret[]) {
         XTextProperty prop;
         char **list;
         int n;
Received on Wed Jun 02 2010 - 05:30:55 UTC

This archive was generated by hypermail 2.2.0 : Wed Jun 02 2010 - 05:36:03 UTC