dtphoto: one CMD_SHOWOPTIONS case, the merge left two
The merge of the plain-file work with the fork put the same case label in MenuCallback twice; a switch with two identical case values is an error in every C, so programs/dtphoto did not compile at all (duplicate case value, build/logs/release-2026-11-23b-cross.log:dtphoto.c:13095). Test: gcc -fsyntax-only on dtphoto.c
This commit is contained in:
1 parent
87687d5ed3
commit
288d13834c
1 file changed
-3
@@ -13092,9 +13092,6 @@ MenuCallback(Widget w, XtPointer data, XtPointer call)
|
||||
case CMD_SHOWOPTIONS:
|
||||
OptionsShow();
|
||||
break;
|
||||
case CMD_SHOWOPTIONS:
|
||||
OptionsShow();
|
||||
break;
|
||||
case CMD_ZOOMIN: SetZoom(zoom * 2); break;
|
||||
case CMD_ZOOMOUT: SetZoom(zoom / 2); break;
|
||||
case CMD_FIT: {
|
||||
|
||||
Reference in new issue
Block a user