更新 src/captcha.cpp

This commit is contained in:
2026-07-30 17:42:45 +08:00
parent a5ca44b20e
commit 142dde73e0

View File

@@ -1,7 +1,6 @@
#include "captcha.h"
#include "dll_interface.h"
#include <cstdio>
#include <mimic.h>
#include "util/img.h"
#include "util/file.h"
extern "C" {
@@ -30,7 +29,7 @@ std::string module::captcha::make(int width,int height,int length,const std::str
{
ylib::buffer data;
std::string code;
data = ylib::util::img::make_code(width,height,length,code);
data = ylib::img::make_code(width,height,length,code);
ylib::file::write(filepath,data);
return code;
}