diff options
author | Marek Olšák <maraeo@gmail.com> | 2011-01-24 23:41:51 +0100 |
---|---|---|
committer | Marek Olšák <maraeo@gmail.com> | 2011-01-26 10:48:21 +0100 |
commit | c7c733545a19aab3e2b954153b9348ebe3147368 (patch) | |
tree | b0fa789271d3e16b356e6d831680911936008749 /src/glut/glx/glut_hel12.c | |
parent | 0657fc00dd9e69f71d679d480b5d5f4c33cfae35 (diff) |
util: require debug options to be separated by commas
Let's assume there are two options with names such that one is a substring
of another. Previously, if we only specified the longer one as a debug option,
the shorter one would be considered specified as well (because of strstr).
This commit fixes it by checking that each option is surrounded by commas.
(a regexp would be nicer, but this is not a performance critical code)
Diffstat (limited to 'src/glut/glx/glut_hel12.c')
0 files changed, 0 insertions, 0 deletions