瀏覽代碼

fix

master
Daniel Ledda 2 天之前
父節點
當前提交
3bea5bd848
共有 1 個文件被更改,包括 0 次插入1 次删除
  1. +0
    -1
      app.cpp

+ 0
- 1
app.cpp 查看文件

@@ -411,7 +411,6 @@ int gymTrackerAddExercise(Arena *arena, list<string> args) {
byte *newExerciseNameDb = buf + newEntryStartIndex + sizeof(GymLogDbEntry);
memcpy(newExerciseNameDb, newExerciseName.str, newExerciseName.length);
size_t bufSize = newEntryStartIndex + sizeof(GymLogDbEntry) + newExerciseName.length;
log("%i\n", bufSize);
os_writeEntireFile(arena, DB_FILE_LOCATION, buf, bufSize);
}
}


Loading…
取消
儲存