File xarchiver-fix-compile.diff of Package xarchiver

---
 src/callbacks.c  |    2 +-
 src/new_dialog.c |    4 ++--
 2 files changed, 3 insertions(+), 3 deletions(-)

Index: xarchiver-0.4.6/src/callbacks.c
===================================================================
--- xarchiver-0.4.6.orig/src/callbacks.c
+++ xarchiver-0.4.6/src/callbacks.c
@@ -1035,7 +1035,7 @@ gchar *xa_open_file_dialog ()
 		Suffix = g_list_first ( ArchiveSuffix );
 		while ( Suffix != NULL )
 		{
-			if ( Suffix->data != "" )	/* To avoid double filtering when opening the archive */
+			if ( strcmp(Suffix->data, "") != 0 )	/* To avoid double filtering when opening the archive */
 			{
 				filter = gtk_file_filter_new ();
 				gtk_file_filter_set_name (filter, Suffix->data );
Index: xarchiver-0.4.6/src/new_dialog.c
===================================================================
--- xarchiver-0.4.6.orig/src/new_dialog.c
+++ xarchiver-0.4.6/src/new_dialog.c
@@ -77,7 +77,7 @@ XArchive *xa_new_archive_dialog (gchar *
 
 	while ( Suffix != NULL )
 	{
-		if ( Suffix->data != "" )	/* To avoid double filtering when opening the archive */
+		if ( strcmp(Suffix->data, "") != 0 )	/* To avoid double filtering when opening the archive */
 		{
 			xa_new_archive_dialog_filter = gtk_file_filter_new ();
 			gtk_file_filter_set_name (xa_new_archive_dialog_filter, Suffix->data );
@@ -96,7 +96,7 @@ XArchive *xa_new_archive_dialog (gchar *
 	Name = g_list_first ( ArchiveType );
 	while ( Name != NULL )
 	{
-		if (Name->data == ".tgz" || Name->data == ".rpm" || Name->data == ".iso" || Name->data == ".gz" || Name->data == ".bz2" ||		(Name->data == ".rar" && unrar) )
+		if (strcmp(Name->data, ".tgz") == 0 || strcmp(Name->data, ".rpm") == 0 || strcmp(Name->data, ".iso") == 0 || strcmp(Name->data, ".gz") == 0 || strcmp(Name->data, ".bz2") == 0 ||		(strcmp(Name->data, ".rar") == 0 && unrar) )
 			goto Next;
 		else
 			gtk_combo_box_append_text (GTK_COMBO_BOX (combo_box), Name->data );