Skip to content

Commit

Permalink
fix: incorrect declaration
Browse files Browse the repository at this point in the history
  • Loading branch information
gampnico committed Nov 27, 2024
1 parent f9b878a commit ced3746
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/patch_wrfxcspy/backend_patcher.pl
Original file line number Diff line number Diff line change
Expand Up @@ -289,7 +289,7 @@ sub patch_from_file_array {
regex_append_to_line( $match_string, $patch_text );
}
elsif ( $mode eq "r" ) {
regex_replace_line( $match_string, $new_text );
regex_replace_line( $match_string, $patch_text );
}
else {
die "Mode $! not supported.";
Expand Down

0 comments on commit ced3746

Please sign in to comment.