Skip to content

Commit 43bdcbd

Browse files
committed
Fix comparison for offset_col
1 parent 4f01565 commit 43bdcbd

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/motionplus.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -370,7 +370,7 @@ static void motpls_allcams_init(ctx_motapp *motapp)
370370
if (it->param_name == "col") {
371371
motapp->cam_list[indx]->all_loc.col = mtoi(it->param_value);
372372
}
373-
if (it->param_name,"offset_col") {
373+
if (it->param_name == "offset_col") {
374374
motapp->cam_list[indx]->all_loc.offset_user_col =
375375
mtoi(it->param_value);
376376
}

0 commit comments

Comments
 (0)