static void sync_with_main(const gchar *key) { gchar *buf = NULL; if (key) buf = (gchar *)main_url_encode(key); else buf = (gchar *) main_url_encode(xml_get_value("keys", "verse")); XI_message(("%s", buf)); if (buf && (strlen(buf) > 3)) { gchar *url = g_strdup_printf("passagestudy.jsp?action=showParallel&" "type=verse&value=%s", buf); main_url_handler(url, TRUE); g_free(url); } }
static void sync_with_main(void) { gchar *buf = NULL; buf = (gchar *)main_url_encode(settings.currentverse); if (buf && (strlen(buf) > 3)) { gchar *url = g_strdup_printf("passagestudy.jsp?action=showParallel&" "type=verse&value=%s", buf); main_url_handler(url, TRUE); g_free(url); } }