From 94217c8a5709f2f319a67e6d1dba091203e18130 Mon Sep 17 00:00:00 2001 From: Daniel Micay Date: Mon, 17 Sep 2012 18:54:07 -0400 Subject: [PATCH] fix url_data initialization order --- termite.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/termite.cc b/termite.cc index a8d0dba..87eb1fc 100644 --- a/termite.cc +++ b/termite.cc @@ -116,8 +116,8 @@ static void find_urls(VteTerminal *vte) { const vte_char_attributes attr = g_array_index(attributes, vte_char_attributes, token + pos - content); url_list.push_back(url_data{g_match_info_fetch(info, 0), - attr.row - first_row, - attr.column}); + attr.column, + attr.row - first_row}); g_match_info_next(info, &error); }