Skip to content

Commit

Permalink
タグ項目名に使える文字から「~」を除外する
Browse files Browse the repository at this point in the history
v1.5.7からバックポート
  • Loading branch information
hcmiya committed Jun 1, 2019
1 parent 4d2a2e9 commit 996aae9
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions ocutil.c
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ static bool test_tag_field_keepcase(uint8_t *line, size_t n, bool *on_field) {
size_t i;
bool valid = true;
for (i = 0; i < n && line[i] != 0x3d; i++) {
if (!(line[i] >= 0x20 && line[i] <= 0x7e)) {
if (!(line[i] >= 0x20 && line[i] <= 0x7d)) {
valid = false;
}
}
Expand All @@ -28,7 +28,7 @@ bool test_tag_field(uint8_t *line, size_t n, bool upcase, bool *on_field, bool *
size_t i;
bool valid = true;
for (i = 0; i < n && line[i] != 0x3d; i++) {
if (!(line[i] >= 0x20 && line[i] <= 0x7e)) {
if (!(line[i] >= 0x20 && line[i] <= 0x7d)) {
valid = false;
}
if (line[i] >= 0x61 && line[i] <= 0x7a) {
Expand Down
6 changes: 3 additions & 3 deletions version.h
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#define OPUSCOMMENT_VERSION "1.3.10"
#define OPUSCOMMENT_VERSION "1.3.11"

#define OPUSCOMMENT_REVISION_YEAR (2019 - 1900)
#define OPUSCOMMENT_REVISION_MONTH (4 - 1)
#define OPUSCOMMENT_REVISION_DAY 7
#define OPUSCOMMENT_REVISION_MONTH (6 - 1)
#define OPUSCOMMENT_REVISION_DAY 1

0 comments on commit 996aae9

Please sign in to comment.