File fix-crash-in-set_shortcuts.patch of Package xdtv

--- src/conf.c.old	2014-05-31 00:59:19.912858336 +0200
+++ src/conf.c	2014-05-31 01:00:02.051857261 +0200
@@ -507,6 +507,7 @@
 	if (channels[i]->key)
     		free (channels[i]->key);
 
+	if(int_to_str(i, shortcuts_list) == NULL) break;
   	channels[i]->key=strdup(int_to_str(i, shortcuts_list));
 	hotkey_channel (channels[i]);
   }
openSUSE Build Service is sponsored by