summaryrefslogtreecommitdiff
path: root/multimedia/vlc-devel/files/patch-modules_gui_ncurses.c
blob: ef435ac6685db63758d382c37767e5655b3a61b2 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
--- modules/gui/ncurses.c.orig	Wed Nov  3 18:12:49 2004
+++ modules/gui/ncurses.c	Wed Nov  3 18:14:27 2004
@@ -875,7 +875,7 @@
 
 static void SearchPlaylist( intf_thread_t *p_intf, char *psz_searchstring )
 {
-    bool b_ok = false;
+    bool b_ok = 0;
     int i_current;
     int i_first = 0 ;
     int i_item = -1;
@@ -900,7 +900,7 @@
                            psz_searchstring ) != NULL )
         {
             i_item = i_current;
-            b_ok = true;
+            b_ok = 1;
             break;
         }
     }
@@ -914,7 +914,7 @@
                                psz_searchstring ) != NULL )
             {
                 i_item = i_current;
-                b_ok = true;
+                b_ok = 1;
                 break;
             }
         }