summaryrefslogtreecommitdiff
path: root/src/gtkext
diff options
context:
space:
mode:
Diffstat (limited to 'src/gtkext')
-rw-r--r--src/gtkext/hexdisplay.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gtkext/hexdisplay.c b/src/gtkext/hexdisplay.c
index cf1f600..ea662ae 100644
--- a/src/gtkext/hexdisplay.c
+++ b/src/gtkext/hexdisplay.c
@@ -191,7 +191,7 @@ GtkWidget *gtk_hex_display_new(GBinContent *content)
result = g_object_new(GTK_TYPE_HEX_DISPLAY, NULL);
- result->cache = g_buffer_cache_new(content, HLC_COUNT);
+ result->cache = g_buffer_cache_new(content, HLC_COUNT, HLC_BINARY);
g_object_ref_sink(G_OBJECT(result->cache));
g_generic_config_get_value(get_main_configuration(), MPK_HEX_PADDING, &padding);