Explorar el Código

Update cute_png.c

blueloveTH hace 4 meses
padre
commit
cc95299cb4
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      3rd/cute_png/src/cute_png.c

+ 1 - 1
3rd/cute_png/src/cute_png.c

@@ -95,7 +95,7 @@ static bool cute_png_Image__height(int argc, py_Ref argv) {
 }
 
 static bool cute_png_Image__setpixel(int argc, py_Ref argv) {
-    PY_CHECK_ARGC(3);
+    PY_CHECK_ARGC(4);
     cp_image_t* image = py_touserdata(argv);
     PY_CHECK_ARG_TYPE(1, tp_int);
     PY_CHECK_ARG_TYPE(2, tp_int);