1
0
mirror of https://github.com/fumiama/simple-dict.git synced 2026-06-11 05:30:28 +08:00

适配最新spb

This commit is contained in:
源文雨
2023-07-08 20:03:23 +08:00
parent a1283e714d
commit 09d5bc4fc2
5 changed files with 9 additions and 9 deletions

View File

@@ -20,7 +20,7 @@ int main() {
puts("Check config...");
fp = fopen("cfg.sp", "rb");
if(fp) {
SIMPLE_PB* spb = get_pb(fp);
simple_pb_t* spb = get_pb(fp);
memset(&cfg, 0, sizeof(config_t));
memcpy(&cfg, spb->target, sizeof(config_t));
printf("set pwd: %s, sps: %s\n", cfg.pwd, cfg.sps);