Removed "comparing an array to null", with no effect.

Coverity 533.

svn path=/trunk/; revision=36280
This commit is contained in:
Stig Bjørlykke 2011-03-23 07:29:19 +00:00
parent aca69d699a
commit 0ae643e27d
1 changed files with 2 additions and 1 deletions

View File

@ -645,7 +645,8 @@ copy_selected_plist_cb(GtkWidget *w _U_, gpointer data _U_, COPY_SELECTED_E acti
switch(action)
{
case COPY_SELECTED_DESCRIPTION:
if (cfile.finfo_selected->rep->representation != 0) {
if (cfile.finfo_selected->rep &&
strlen (cfile.finfo_selected->rep->representation) > 0) {
g_string_append(gtk_text_str, cfile.finfo_selected->rep->representation);
}
break;