浏览代码

minor comment typos

Andre Weissflog 6 年之前
父节点
当前提交
487822d82c
共有 2 个文件被更改,包括 2 次插入2 次删除
  1. 1 1
      sokol_args.h
  2. 1 1
      sokol_audio.h

+ 1 - 1
sokol_args.h

@@ -134,7 +134,7 @@
     WINMAIN AND ARGC / ARGV
     =======================
     On Windows with WinMain() based apps, use the __argc and __argv global
-    variables provided Windows. These are compatible with main(argc, argv)
+    variables provided by Windows. These are compatible with main(argc, argv)
     and have already been converted to UTF-8 by Windows:
 
         int WINAPI WinMain(...) {

+ 1 - 1
sokol_audio.h

@@ -421,7 +421,7 @@ SOKOL_API_DECL int saudio_push(const float* frames, int num_frames);
 #define _saudio_def(val, def) (((val) == 0) ? (def) : (val))
 #define _saudio_def_flt(val, def) (((val) == 0.0f) ? (def) : (val))
 
-/*--- implementation-private structures --------------------------------------*/
+/*--- implementation-private constants ---------------------------------------*/
 #define _SAUDIO_DEFAULT_SAMPLE_RATE (44100)
 #define _SAUDIO_DEFAULT_BUFFER_FRAMES (2048)
 #define _SAUDIO_DEFAULT_PACKET_FRAMES (128)