diff options
author | MANTANI Nobutaka <nobutaka@FreeBSD.org> | 2005-10-01 20:35:26 +0000 |
---|---|---|
committer | MANTANI Nobutaka <nobutaka@FreeBSD.org> | 2005-10-01 20:35:26 +0000 |
commit | ec56155749b17027e9aa7e7eca46e69d75ee4d00 (patch) | |
tree | d90fbb708e19ed6cb18d0bc22d01d0519c556128 /multimedia/fxtv | |
parent | ecc5dfedb0f0f4dab3993eb2c4a16121882fa67c (diff) |
Fix segmentation fault on startup.
PR: ports/86579
Submitted by: Simun Mikecin <numisemis@yahoo.com>
Notes
Notes:
svn path=/head/; revision=143929
Diffstat (limited to 'multimedia/fxtv')
-rw-r--r-- | multimedia/fxtv/files/patch-tvmenu.c | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/multimedia/fxtv/files/patch-tvmenu.c b/multimedia/fxtv/files/patch-tvmenu.c new file mode 100644 index 000000000000..6dbb011562e0 --- /dev/null +++ b/multimedia/fxtv/files/patch-tvmenu.c @@ -0,0 +1,11 @@ +--- tvmenu.c.orig Fri Sep 23 23:56:25 2005 ++++ tvmenu.c Fri Sep 23 23:56:25 2005 +@@ -589,7 +589,7 @@ + + XtVaSetValues(children[i], XtNleftBitmap, pix, NULL); + #else +- if ( strcmp( actual_station, temp_station ) == 0 ) ++ if ( strcmp( actual_station, temp_station==NULL ? "" : temp_station ) == 0 ) + new_popup_item = children[i]; + #endif + } |