forked from osmocom/wireshark
use the correct status bar icon for the capture comment
if we have an empty capture comment (an existing comment was deleted), we should use the same icon as if no comment was present svn path=/trunk/; revision=45227
This commit is contained in:
parent
296d2900a1
commit
8b7686e9b8
|
@ -687,7 +687,8 @@ status_capture_comment_update(void)
|
|||
|
||||
comment_str = cf_read_shb_comment(&cfile);
|
||||
|
||||
if(comment_str != NULL){
|
||||
/* *comment_str==0x0 -> comment exists, but it's empty */
|
||||
if(comment_str!=NULL && *comment_str!=0x0){
|
||||
gtk_widget_show(capture_comment);
|
||||
}else{
|
||||
gtk_widget_show(capture_comment_none);
|
||||
|
|
Loading…
Reference in New Issue