Fix plugin strings translation
[vlc.git] / modules / control / globalhotkeys / x11.c
index f0bb346..7ffd007 100644 (file)
@@ -43,14 +43,14 @@ static void Close( vlc_object_t *p_this );
 /*****************************************************************************
  * Module descriptor
  *****************************************************************************/
-vlc_module_begin();
-    set_shortname( _("Global Hotkeys") );
-    set_category( CAT_INTERFACE );
-    set_subcategory( SUBCAT_INTERFACE_HOTKEYS );
-    set_description( _("Global Hotkeys interface") );
-    set_capability( "interface", 0 );
-    set_callbacks( Open, Close );
-vlc_module_end();
+vlc_module_begin()
+    set_shortname( N_("Global Hotkeys") )
+    set_category( CAT_INTERFACE )
+    set_subcategory( SUBCAT_INTERFACE_HOTKEYS )
+    set_description( N_("Global Hotkeys interface") )
+    set_capability( "interface", 0 )
+    set_callbacks( Open, Close )
+vlc_module_end()
 
 typedef struct
 {
@@ -349,6 +349,7 @@ static void *Thread( void *p_data )
         {
             if( errno != EINTR )
                 break;
+            canc = vlc_savecancel();
             continue;
         }
         canc = vlc_savecancel();