mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2024-11-02 15:46:17 +01:00
Don't return the wrong change. (#155856, Lucas Rocha)
2004-10-20 Matthias Clasen <mclasen@redhat.com> * glib/goption.c (get_change): Don't return the wrong change. (#155856, Lucas Rocha)
This commit is contained in:
parent
39acce7ee6
commit
e96fe301fa
@ -1,3 +1,8 @@
|
|||||||
|
2004-10-20 Matthias Clasen <mclasen@redhat.com>
|
||||||
|
|
||||||
|
* glib/goption.c (get_change): Don't return the wrong
|
||||||
|
change. (#155856, Lucas Rocha)
|
||||||
|
|
||||||
2004-10-17 Matthias Clasen <mclasen@redhat.com>
|
2004-10-17 Matthias Clasen <mclasen@redhat.com>
|
||||||
|
|
||||||
* glib/gutils.h (G_IS_DIR_SEPARATOR):
|
* glib/gutils.h (G_IS_DIR_SEPARATOR):
|
||||||
|
@ -1,3 +1,8 @@
|
|||||||
|
2004-10-20 Matthias Clasen <mclasen@redhat.com>
|
||||||
|
|
||||||
|
* glib/goption.c (get_change): Don't return the wrong
|
||||||
|
change. (#155856, Lucas Rocha)
|
||||||
|
|
||||||
2004-10-17 Matthias Clasen <mclasen@redhat.com>
|
2004-10-17 Matthias Clasen <mclasen@redhat.com>
|
||||||
|
|
||||||
* glib/gutils.h (G_IS_DIR_SEPARATOR):
|
* glib/gutils.h (G_IS_DIR_SEPARATOR):
|
||||||
|
@ -1,3 +1,8 @@
|
|||||||
|
2004-10-20 Matthias Clasen <mclasen@redhat.com>
|
||||||
|
|
||||||
|
* glib/goption.c (get_change): Don't return the wrong
|
||||||
|
change. (#155856, Lucas Rocha)
|
||||||
|
|
||||||
2004-10-17 Matthias Clasen <mclasen@redhat.com>
|
2004-10-17 Matthias Clasen <mclasen@redhat.com>
|
||||||
|
|
||||||
* glib/gutils.h (G_IS_DIR_SEPARATOR):
|
* glib/gutils.h (G_IS_DIR_SEPARATOR):
|
||||||
|
@ -1,3 +1,8 @@
|
|||||||
|
2004-10-20 Matthias Clasen <mclasen@redhat.com>
|
||||||
|
|
||||||
|
* glib/goption.c (get_change): Don't return the wrong
|
||||||
|
change. (#155856, Lucas Rocha)
|
||||||
|
|
||||||
2004-10-17 Matthias Clasen <mclasen@redhat.com>
|
2004-10-17 Matthias Clasen <mclasen@redhat.com>
|
||||||
|
|
||||||
* glib/gutils.h (G_IS_DIR_SEPARATOR):
|
* glib/gutils.h (G_IS_DIR_SEPARATOR):
|
||||||
|
@ -1,3 +1,8 @@
|
|||||||
|
2004-10-20 Matthias Clasen <mclasen@redhat.com>
|
||||||
|
|
||||||
|
* glib/goption.c (get_change): Don't return the wrong
|
||||||
|
change. (#155856, Lucas Rocha)
|
||||||
|
|
||||||
2004-10-17 Matthias Clasen <mclasen@redhat.com>
|
2004-10-17 Matthias Clasen <mclasen@redhat.com>
|
||||||
|
|
||||||
* glib/gutils.h (G_IS_DIR_SEPARATOR):
|
* glib/gutils.h (G_IS_DIR_SEPARATOR):
|
||||||
|
@ -428,17 +428,16 @@ get_change (GOptionContext *context,
|
|||||||
change = list->data;
|
change = list->data;
|
||||||
|
|
||||||
if (change->arg_data == arg_data)
|
if (change->arg_data == arg_data)
|
||||||
break;
|
goto found;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (!change)
|
|
||||||
{
|
|
||||||
change = g_new0 (Change, 1);
|
change = g_new0 (Change, 1);
|
||||||
change->arg_type = arg_type;
|
change->arg_type = arg_type;
|
||||||
change->arg_data = arg_data;
|
change->arg_data = arg_data;
|
||||||
|
|
||||||
context->changes = g_list_prepend (context->changes, change);
|
context->changes = g_list_prepend (context->changes, change);
|
||||||
}
|
|
||||||
|
found:
|
||||||
|
|
||||||
return change;
|
return change;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user