summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBoris Faure <billiob@gmail.com>2019-10-28 09:56:03 +0100
committerBoris Faure <billiob@gmail.com>2019-10-28 09:56:03 +0100
commit998f25ba775ca09aa26b5deaed7fe9fdc283d5cd (patch)
tree6eb4425255c2caafd0756c96d115edf7a87c2fb6
parent6148707ee71adcb553f52c3dedd2452d44cc0c8b (diff)
termio: only the TEXT case shouldn't happen in that switch-case
-rw-r--r--src/bin/termio.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/bin/termio.c b/src/bin/termio.c
index 0451b71..f366cb5 100644
--- a/src/bin/termio.c
+++ b/src/bin/termio.c
@@ -1073,9 +1073,9 @@ _getsel_cb(void *data,
1073 const char *fmt = "UNKNOWN"; 1073 const char *fmt = "UNKNOWN";
1074 switch (ev->format) 1074 switch (ev->format)
1075 { 1075 {
1076 case ELM_SEL_FORMAT_TARGETS: fmt = "TARGETS"; break; /* shouldn't happen */ 1076 case ELM_SEL_FORMAT_TARGETS: fmt = "TARGETS"; break;
1077 case ELM_SEL_FORMAT_NONE: fmt = "NONE"; break; 1077 case ELM_SEL_FORMAT_NONE: fmt = "NONE"; break;
1078 case ELM_SEL_FORMAT_TEXT: fmt = "TEXT"; break; 1078 case ELM_SEL_FORMAT_TEXT: fmt = "TEXT"; break; /* shouldn't happen */
1079 case ELM_SEL_FORMAT_MARKUP: fmt = "MARKUP"; break; 1079 case ELM_SEL_FORMAT_MARKUP: fmt = "MARKUP"; break;
1080 case ELM_SEL_FORMAT_IMAGE: fmt = "IMAGE"; break; 1080 case ELM_SEL_FORMAT_IMAGE: fmt = "IMAGE"; break;
1081 case ELM_SEL_FORMAT_VCARD: fmt = "VCARD"; break; 1081 case ELM_SEL_FORMAT_VCARD: fmt = "VCARD"; break;