/*
* Viking - GPS data editor
- * Copyright (C) 2007 Guilhem Bonnefille <guilhem.bonnefille@gmail.com>
+ * Copyright (C) 2007, Guilhem Bonnefille <guilhem.bonnefille@gmail.com>
* Based on:
- * Copyright (C) 2003-2007 Leandro A. F. Pereira <leandro@linuxmag.com.br>
+ * Copyright (C) 2003-2007, Leandro A. F. Pereira <leandro@linuxmag.com.br>
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
#endif
#include <glib/gi18n.h>
+#include <glib/gprintf.h>
+#include "util.h"
#include "dialog.h"
static gboolean spawn_command_line_async(const gchar * cmd,
else if (g_ascii_isalnum(*src))
*dst++ = *src;
else {
- g_sprintf(dst, "%%%02X", *src);
+ g_sprintf(dst, "%%%02hhX", *src);
dst += 3;
}
}