Commit 234acfd0 authored by Tor Lillqvist's avatar Tor Lillqvist Committed by Tor Lillqvist
Browse files

Fix braino, actually do check each char, not just the first one, when

2002-09-05  Tor Lillqvist  <tml@iki.fi>

	* gdk/win32/gdkproperty-win32.c (gdk_property_change): Fix braino,
	actually do check each char, not just the first one, when looping
	through the text looking to insert CR in front of each LF. Bug
	noticed and fix provided by Florent Duguet.
parent 752cd443
2002-09-05 Tor Lillqvist <tml@iki.fi>
* gdk/win32/gdkproperty-win32.c (gdk_property_change): Fix braino,
actually do check each char, not just the first one, when looping
through the text looking to insert CR in front of each LF. Bug
noticed and fix provided by Florent Duguet.
2002-09-04 Matthias Clasen <maclas@gmx.de>
* demos/testanimation.c (do_image):
......
2002-09-05 Tor Lillqvist <tml@iki.fi>
* gdk/win32/gdkproperty-win32.c (gdk_property_change): Fix braino,
actually do check each char, not just the first one, when looping
through the text looking to insert CR in front of each LF. Bug
noticed and fix provided by Florent Duguet.
2002-09-04 Matthias Clasen <maclas@gmx.de>
* demos/testanimation.c (do_image):
......
2002-09-05 Tor Lillqvist <tml@iki.fi>
* gdk/win32/gdkproperty-win32.c (gdk_property_change): Fix braino,
actually do check each char, not just the first one, when looping
through the text looking to insert CR in front of each LF. Bug
noticed and fix provided by Florent Duguet.
2002-09-04 Matthias Clasen <maclas@gmx.de>
* demos/testanimation.c (do_image):
......
2002-09-05 Tor Lillqvist <tml@iki.fi>
* gdk/win32/gdkproperty-win32.c (gdk_property_change): Fix braino,
actually do check each char, not just the first one, when looping
through the text looking to insert CR in front of each LF. Bug
noticed and fix provided by Florent Duguet.
2002-09-04 Matthias Clasen <maclas@gmx.de>
* demos/testanimation.c (do_image):
......
2002-09-05 Tor Lillqvist <tml@iki.fi>
* gdk/win32/gdkproperty-win32.c (gdk_property_change): Fix braino,
actually do check each char, not just the first one, when looping
through the text looking to insert CR in front of each LF. Bug
noticed and fix provided by Florent Duguet.
2002-09-04 Matthias Clasen <maclas@gmx.de>
* demos/testanimation.c (do_image):
......
2002-09-05 Tor Lillqvist <tml@iki.fi>
* gdk/win32/gdkproperty-win32.c (gdk_property_change): Fix braino,
actually do check each char, not just the first one, when looping
through the text looking to insert CR in front of each LF. Bug
noticed and fix provided by Florent Duguet.
2002-09-04 Matthias Clasen <maclas@gmx.de>
* demos/testanimation.c (do_image):
......
......@@ -391,7 +391,7 @@ gdk_property_change (GdkWindow *window,
cf = CF_TEXT;
for (i = 0; i < nelements; i++)
{
if (*data == '\n')
if (data[i] == '\n')
*ucptr++ = '\r';
*ucptr++ = data[i];
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment