diff options
Diffstat (limited to 'src/skia-tests/text-glyphs.cpp')
| -rw-r--r-- | src/skia-tests/text-glyphs.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/skia-tests/text-glyphs.cpp b/src/skia-tests/text-glyphs.cpp index 569f6ed..dffa474 100644 --- a/src/skia-tests/text-glyphs.cpp +++ b/src/skia-tests/text-glyphs.cpp @@ -33,7 +33,7 @@ void gen_skia_random(char *s, const int len) { static const char alphanum[] = "ABCD EFG HIJKL MNOPQ RSTUVW XYZ"; for (int i = 0; i < len; ++i) { - s[i] = alphanum[rand() % (sizeof(alphanum) - 1)]; + s[i] = alphanum[rnd() % (sizeof(alphanum) - 1)]; } s[len] = 0; } |