Commit 16a72b71 authored by Nalin Dahyabhai's avatar Nalin Dahyabhai

use INT_MAX instead of LONG_MAX when passing in the maximum length,

* src/vterdb.c(_vte_rdb_get): use INT_MAX instead of LONG_MAX when passing in
	the maximum length, because it's returned in an int.
parent 6534a2f4
2003-04-29 nalin
* src/vterdb.c(_vte_rdb_get): use INT_MAX instead of LONG_MAX when
passing in the maximum length, because it's returned in an int.
2003-04-29 nalin
* src/iso2022.txt: fix the UTF-8 sample text which corresponds to the
ISO-2022-KR sample text so that it actually matches the text.
......
......@@ -50,7 +50,7 @@ _vte_rdb_get(void)
/* Read the string property off of the window. */
prop_data = NULL;
gdk_error_trap_push();
gdk_property_get(root, atom, GDK_TARGET_STRING, 0, LONG_MAX, FALSE,
gdk_property_get(root, atom, GDK_TARGET_STRING, 0, INT_MAX, FALSE,
&prop_type, NULL, &prop_length,
(guchar**) &prop_data);
gdk_error_trap_pop();
......
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