diff options
Diffstat (limited to 'src/io_cube.h')
| -rw-r--r-- | src/io_cube.h | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/src/io_cube.h b/src/io_cube.h index 72113ff..95c1882 100644 --- a/src/io_cube.h +++ b/src/io_cube.h | |||
| @@ -49,7 +49,7 @@ readcube(const char *format, const char *buf) | |||
| 49 | if (!strcmp(format, ioformat[i].name)) | 49 | if (!strcmp(format, ioformat[i].name)) |
| 50 | return ioformat[i].read(buf); | 50 | return ioformat[i].read(buf); |
| 51 | 51 | ||
| 52 | _log("Cannot read cube in the given format\n"); | 52 | LOG("Cannot read cube in the given format\n"); |
| 53 | return zero; | 53 | return zero; |
| 54 | } | 54 | } |
| 55 | 55 | ||
| @@ -76,7 +76,7 @@ writecube(const char *format, cube_t cube, char *buf) | |||
| 76 | errormsg = "ERROR: format"; | 76 | errormsg = "ERROR: format"; |
| 77 | 77 | ||
| 78 | writecube_error: | 78 | writecube_error: |
| 79 | _log("writecube error, see stdout for details\n"); | 79 | LOG("writecube error, see stdout for details\n"); |
| 80 | len = strlen(errormsg); | 80 | len = strlen(errormsg); |
| 81 | memcpy(buf, errormsg, len); | 81 | memcpy(buf, errormsg, len); |
| 82 | buf[len] = '\n'; | 82 | buf[len] = '\n'; |
| @@ -93,7 +93,7 @@ readco(const char *str) | |||
| 93 | if (*str == '2') | 93 | if (*str == '2') |
| 94 | return _ctwist_ccw; | 94 | return _ctwist_ccw; |
| 95 | 95 | ||
| 96 | _log("Error reading CO\n"); | 96 | LOG("Error reading CO\n"); |
| 97 | return _error; | 97 | return _error; |
| 98 | } | 98 | } |
| 99 | 99 | ||
| @@ -107,7 +107,7 @@ readcp(const char *str) | |||
| 107 | !strncmp(str, cornerstralt[c], 3)) | 107 | !strncmp(str, cornerstralt[c], 3)) |
| 108 | return c; | 108 | return c; |
| 109 | 109 | ||
| 110 | _log("Error reading CP\n"); | 110 | LOG("Error reading CP\n"); |
| 111 | return _error; | 111 | return _error; |
| 112 | } | 112 | } |
| 113 | 113 | ||
| @@ -119,7 +119,7 @@ readeo(const char *str) | |||
| 119 | if (*str == '1') | 119 | if (*str == '1') |
| 120 | return _eflip; | 120 | return _eflip; |
| 121 | 121 | ||
| 122 | _log("Error reading EO\n"); | 122 | LOG("Error reading EO\n"); |
| 123 | return _error; | 123 | return _error; |
| 124 | } | 124 | } |
| 125 | 125 | ||
| @@ -132,7 +132,7 @@ readep(const char *str) | |||
| 132 | if (!strncmp(str, edgestr[e], 2)) | 132 | if (!strncmp(str, edgestr[e], 2)) |
| 133 | return e; | 133 | return e; |
| 134 | 134 | ||
| 135 | _log("Error reading EP\n"); | 135 | LOG("Error reading EP\n"); |
| 136 | return _error; | 136 | return _error; |
| 137 | } | 137 | } |
| 138 | 138 | ||
