summary |
shortlog |
log |
commit | commitdiff |
tree
raw |
patch |
inline | side by side (from parent 1:
cec5fe0)
Only the first two rows were displayed. The crc_init variable
was not handled correctly.
GtkWidget *scrollwin;
GtkListStore *store;
GtkWidget *scrollwin;
GtkListStore *store;
+ log_debug("memwin_init");
+
COL_ASCII = cfg->bytes_per_row + 1;
N_COLUMNS = COL_ASCII + 1;
COL_ASCII = cfg->bytes_per_row + 1;
N_COLUMNS = COL_ASCII + 1;
(crc_new == memwin_infos->crc[row])) {
row_changed = false;
} else {
(crc_new == memwin_infos->crc[row])) {
row_changed = false;
} else {
- memwin_infos->crc_init = true;
memwin_infos->crc[row] = crc_new;
memwin_infos->crc[row] = crc_new;
- log_debug(" Row %02d value(s) change", row);
+ log_debug(" Row %02d value(s) change", row);
unsigned int Address = 0;
GtkListStore *store;
unsigned int Address = 0;
GtkListStore *store;
+ log_debug("memwin_refresh");
+
memwin_infos_select(memory_id);
store = GTK_LIST_STORE(gtk_tree_view_get_model(
memwin_infos_select(memory_id);
store = GTK_LIST_STORE(gtk_tree_view_get_model(
gtk_list_store_set(store, &iter, COL_ASCII, ascii_str, -1);
}
}
gtk_list_store_set(store, &iter, COL_ASCII, ascii_str, -1);
}
}
+
+ /* At this point we know all rows crc have been initialized. */
+ memwin_infos->crc_init = true;