浏览代码

hints: Rephrase documentation to improve grammar

"This thing allows to do something" is not really grammatically correct.
The closest rephrasing would be "allows one to do something" or "allows
the user to do something", but I think the passive voice reads more
naturally here.

Detected by Debian's lintian QA tool.

Signed-off-by: Simon McVittie <[email protected]>
Simon McVittie 1 月之前
父节点
当前提交
40b941c826
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      include/SDL3/SDL_hints.h

+ 1 - 1
include/SDL3/SDL_hints.h

@@ -595,7 +595,7 @@ extern "C" {
  * A variable that limits what CPU features are available.
  * A variable that limits what CPU features are available.
  *
  *
  * By default, SDL marks all features the current CPU supports as available.
  * By default, SDL marks all features the current CPU supports as available.
- * This hint allows to limit these to a subset.
+ * This hint allows the enabled features to be limited to a subset.
  *
  *
  * When the hint is unset, or empty, SDL will enable all detected CPU
  * When the hint is unset, or empty, SDL will enable all detected CPU
  * features.
  * features.