diff options
| -rw-r--r-- | src/widget-encodings.c | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/src/widget-encodings.c b/src/widget-encodings.c index b529101..2af715d 100644 --- a/src/widget-encodings.c +++ b/src/widget-encodings.c | |||
| @@ -533,15 +533,11 @@ bindle_encodings_src_fileno( | |||
| 533 | return(0); | 533 | return(0); |
| 534 | buff[state->buff_len] = '\0'; | 534 | buff[state->buff_len] = '\0'; |
| 535 | if ((cnf->widget_flags & BINDLE_FLG_DECODE) == BINDLE_FLG_DECODE) | 535 | if ((cnf->widget_flags & BINDLE_FLG_DECODE) == BINDLE_FLG_DECODE) |
| 536 | { | ||
| 537 | if (bindle_encodings_action_decode(cnf, method) == -1) | 536 | if (bindle_encodings_action_decode(cnf, method) == -1) |
| 538 | return(1); | 537 | return(1); |
| 539 | } | 538 | if ((cnf->widget_flags & BINDLE_FLG_DECODE) != BINDLE_FLG_DECODE) |
| 540 | else | ||
| 541 | { | ||
| 542 | if (bindle_encodings_action_encode(cnf, method) == -1) | 539 | if (bindle_encodings_action_encode(cnf, method) == -1) |
| 543 | return(1); | 540 | return(1); |
| 544 | }; | ||
| 545 | if (len == 0) | 541 | if (len == 0) |
| 546 | return(0); | 542 | return(0); |
| 547 | }; | 543 | }; |
