diff options
author | Mattias Andrée <maandree@kth.se> | 2020-04-29 20:49:56 +0200 |
---|---|---|
committer | Mattias Andrée <maandree@kth.se> | 2020-04-29 20:49:56 +0200 |
commit | 04879eae7990cb8788938291ac6a5a56217d78ea (patch) | |
tree | f1296417444b0789fd6ee3fe25c039051221c1bc | |
parent | Add support for mirrored text (mirror both text and characters for right-to-left) (diff) | |
download | libskrift-04879eae7990cb8788938291ac6a5a56217d78ea.tar.gz libskrift-04879eae7990cb8788938291ac6a5a56217d78ea.tar.bz2 libskrift-04879eae7990cb8788938291ac6a5a56217d78ea.tar.xz |
reverse_text: use restrict
Signed-off-by: Mattias Andrée <maandree@kth.se>
-rw-r--r-- | libskrift_draw_text.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libskrift_draw_text.c b/libskrift_draw_text.c index cce2991..356468d 100644 --- a/libskrift_draw_text.c +++ b/libskrift_draw_text.c @@ -2,7 +2,7 @@ #include "common.h" static void -reverse_text(const char *text, char *s, size_t off) +reverse_text(const char *restrict text, char *restrict s, size_t off) { size_t n; s[off] = '\0'; |