hook.c: add missing braces after if()
authorPierre-Marc Fournier <pierre-marc.fournier@polymtl.ca>
Tue, 25 May 2010 14:12:29 +0000 (10:12 -0400)
committerPierre-Marc Fournier <pierre-marc.fournier@polymtl.ca>
Tue, 25 May 2010 14:14:52 +0000 (10:14 -0400)
reported by Alexandre Montplaisir

lttv/lttv/hook.c

index d6e3014294342a4399105c45f4e0dc38f294baa9..ae88fdeb68f0a384621c8baa2f188c48bad64d7f 100644 (file)
@@ -500,9 +500,10 @@ static LttvHooksByIdChannel *lttv_hooks_by_id_channel_find_channel(
 
   for (i = 0; i < h->array->len; i++) {
     hid = &g_array_index(h->array, LttvHooksByIdChannel, i);
-    if (hid->channel == channel)
+    if (hid->channel == channel) {
       found = 1;
       break;
+    }
   }
   if (!found) {
     g_array_set_size(h->array, h->array->len + 1);
This page took 0.023393 seconds and 4 git commands to generate.