diff --git a/o_gtk_image/src/o_gtk_image.cpp b/o_gtk_image/src/o_gtk_image.cpp index 246c36a2e76a28e35d8c69d784a3d6d645e64cd1..4ba398bb07f84a60f6d328df5525403f7d1b492b 100644 --- a/o_gtk_image/src/o_gtk_image.cpp +++ b/o_gtk_image/src/o_gtk_image.cpp @@ -95,11 +95,12 @@ int main(int argc, char *argv[]) blc_program_add_option(&max_str, 'M', "max", "FL32", "maximal value", NULL); // blc_program_add_option(&mouse_name, 'm', "mouse", "blc_channel-out", "return the mouse coordinates and status in the channel", NULL); blc_program_add_option(&fullscreen_option, 'F', "fullscreen", NULL, "Set the window in fullscreen", NULL); - blc_program_add_option(&g_debug, ' ', "g-fatal-warnings", NULL, "Debug gtk.", NULL); + blc_program_add_option(&g_debug, 'g', "g-fatal-warnings", NULL, "Debug gtk.", NULL); // This function is not yer operaiotnal blc_program_add_multiple_parameters(&input_names, "blc_channel", 1, "channel name you want to display"); blc_program_add_parameter(&input_name, "blc_channel-in", 1, "channel name you want to display", NULL); blc_program_init(&argc, &argv, ask_quit); + blc_command_forward_blc_channels(); input.open(input_name, mode); @@ -110,7 +111,6 @@ int main(int argc, char *argv[]) max=128; } - if (input.type=='FL32' && input.format=='Y800'){ if (min_str) SSCANF(1, min_str, "%f", &min); else min=0;