This commit is contained in:
Henry Schimke
2023-01-01 16:42:16 -06:00
parent 8133900651
commit 72f69dd6a0
8 changed files with 59 additions and 27 deletions

View File

@@ -817,7 +817,7 @@ fn adjustCodewordStartColumn(
return codewordStartColumn;
}
correctedStartColumn = (correctedStartColumn as i32 + increment) as u32;
if let Err(_) = image.try_get(correctedStartColumn, imageRow) {
if image.check_in_bounds(correctedStartColumn, imageRow) {
return 0;
}
}