diff options
Diffstat (limited to '')
| -rw-r--r-- | src/core/transform.h | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/core/transform.h b/src/core/transform.h index 83204d5..73636fe 100644 --- a/src/core/transform.h +++ b/src/core/transform.h | |||
| @@ -229,7 +229,7 @@ transform_corners(cube_t c, uint8_t t) | |||
| 229 | case TRANS_BLm: | 229 | case TRANS_BLm: |
| 230 | return TRANS_CORNERS_MIRRORED(BLm, c); | 230 | return TRANS_CORNERS_MIRRORED(BLm, c); |
| 231 | default: | 231 | default: |
| 232 | LOG("transform error, unknown transformation %" PRIu8 "\n", t); | 232 | LOG("transform error: unknown transformation %" PRIu8 "\n", t); |
| 233 | return ZERO_CUBE; | 233 | return ZERO_CUBE; |
| 234 | } | 234 | } |
| 235 | } | 235 | } |
| @@ -335,7 +335,6 @@ transform(cube_t c, uint8_t t) | |||
| 335 | case TRANS_BLm: | 335 | case TRANS_BLm: |
| 336 | return TRANS_MIRRORED(BLm, c); | 336 | return TRANS_MIRRORED(BLm, c); |
| 337 | default: | 337 | default: |
| 338 | LOG("transform error, unknown transformation %" PRIu8 "\n", t); | ||
| 339 | return ZERO_CUBE; | 338 | return ZERO_CUBE; |
| 340 | } | 339 | } |
| 341 | } | 340 | } |
| @@ -350,5 +349,8 @@ applytrans(cube_t cube, const char *buf) | |||
| 350 | 349 | ||
| 351 | t = readtrans(buf); | 350 | t = readtrans(buf); |
| 352 | 351 | ||
| 352 | if (t == UINT8_ERROR) | ||
| 353 | LOG("Unknown transformation '%s'\n", buf); | ||
| 354 | |||
| 353 | return transform(cube, t); | 355 | return transform(cube, t); |
| 354 | } | 356 | } |
