Skip to content

Commit

Permalink
Fix typo "offeset"
Browse files Browse the repository at this point in the history
  • Loading branch information
YourMJK committed Jan 30, 2024
1 parent 735139a commit 093328b
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -739,7 +739,7 @@ int main(int32_t argc, char** argv)
t_PCS pcs = {};
t_PDS pds = {};

size_t offesetCurrPCS = 0;
size_t offsetCurrPCS = 0;
bool fixPCS = false;

std::vector<t_compositionNumberToSaveInfo> cutMerge_compositionNumberToSave = {};
Expand Down Expand Up @@ -803,7 +803,7 @@ int main(int32_t argc, char** argv)
//std::printf("PCS\r\n");
if (doCrop || cmd.addZero || cmd.cutMerge.doCutMerge) {
pcs = ReadPCS(&buffer[start + HEADER_SIZE]);
offesetCurrPCS = start;
offsetCurrPCS = start;

if (doCrop) {
screenRect.x = 0 + cmd.crop.left;
Expand Down Expand Up @@ -981,7 +981,7 @@ int main(int32_t argc, char** argv)
}

if (fixPCS) {
WritePCS(pcs, &buffer[offesetCurrPCS + HEADER_SIZE]);
WritePCS(pcs, &buffer[offsetCurrPCS + HEADER_SIZE]);
}
WriteWDS(wds, &buffer[start + HEADER_SIZE]);

Expand Down

0 comments on commit 093328b

Please sign in to comment.