Skip to content

Commit 874e571

Browse files
fix missing ")" in message (#6780)
1 parent 79f5923 commit 874e571

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

po/data.table.pot

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -481,7 +481,7 @@ msgstr ""
481481
#: assign.c:970
482482
#, c-format
483483
msgid ""
484-
"%d (type '%s' at RHS position %d taken as 0 when assigning to type '%s' %s"
484+
"%d (type '%s') at RHS position %d taken as 0 when assigning to type '%s' %s"
485485
msgstr ""
486486

487487
#: assign.c:972

src/assign.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -967,7 +967,7 @@ const char *memrecycle(const SEXP target, const SEXP where, const int start, con
967967
} break;
968968
case RAWSXP:
969969
switch (TYPEOF(source)) {
970-
case INTSXP: CHECK_RANGE(int, INTEGER, val<0 || val>255, val, _("%d (type '%s' at RHS position %d taken as 0 when assigning to type '%s' %s"))
970+
case INTSXP: CHECK_RANGE(int, INTEGER, val<0 || val>255, val, _("%d (type '%s') at RHS position %d taken as 0 when assigning to type '%s' %s"))
971971
case REALSXP: if (sourceIsI64)
972972
CHECK_RANGE(int64_t, REAL, val<0 || val>255, val, _("%"PRId64" (type '%s') at RHS position %d taken as 0 when assigning to type '%s' %s"))
973973
else CHECK_RANGE(double, REAL, !R_FINITE(val) || val<0.0 || val>256.0 || (int)val!=val, val, _("%f (type '%s') at RHS position %d either truncated (precision lost) or taken as 0 when assigning to type '%s' %s"))

0 commit comments

Comments
 (0)