diff options
Diffstat (limited to 'src/cairo-tests/text-glyphs.cpp')
| -rw-r--r-- | src/cairo-tests/text-glyphs.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cairo-tests/text-glyphs.cpp b/src/cairo-tests/text-glyphs.cpp index 34d17ce..e8ee3aa 100644 --- a/src/cairo-tests/text-glyphs.cpp +++ b/src/cairo-tests/text-glyphs.cpp @@ -26,7 +26,7 @@ gen_random(char *s, const int len) { "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; |