Properly reset a variable.
Change-Id: I72b125dd4c9d9033ce3e3d779bf28005ee6b52ad Reviewed-on: https://code.wireshark.org/review/26482 Petri-Dish: Gerald Combs <gerald@wireshark.org> Tested-by: Petri Dish Buildbot Reviewed-by: Gerald Combs <gerald@wireshark.org>
This commit is contained in:
parent
bbe5fc1028
commit
be1af00448
|
@ -2295,8 +2295,9 @@ col_fill_in_error(column_info *cinfo, frame_data *fdata, const gboolean fill_col
|
|||
}
|
||||
|
||||
gboolean col_data_changed(void) {
|
||||
return col_data_changed_;
|
||||
gboolean cur_cdc = col_data_changed_;
|
||||
col_data_changed_ = FALSE;
|
||||
return cur_cdc;
|
||||
}
|
||||
/*
|
||||
* Editor modelines
|
||||
|
|
Loading…
Reference in New Issue