Commit e28d0ff9 authored by Colomban Wendling's avatar Colomban Wendling

OVCCGtk: don't rely on a library's implementation detail (oops)

parent a5821e84
......@@ -31,7 +31,7 @@ data_get_path (const gchar *file)
{
static const gchar *datadir = NULL;
if G_UNLIKELY (datadir == NULL) {
if (G_UNLIKELY (datadir == NULL)) {
datadir = g_getenv ("OVCCGTK_DATADIR");
if (! datadir) {
datadir = DATADIR;
......
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