From 0cb4a64f67e94bcdd9c511ae30a422839a5f173b Mon Sep 17 00:00:00 2001 From: theo3 Date: Sat, 8 Aug 2020 14:15:46 -0700 Subject: [PATCH] fix calcrom to accept strings.s --- calcrom.pl | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/calcrom.pl b/calcrom.pl index 7472ab23..8de8661b 100644 --- a/calcrom.pl +++ b/calcrom.pl @@ -58,7 +58,13 @@ while (my $line = <$file>) } elsif ($dir eq 'data') { - $data += $size; + if ($basename =~ /(strings)/) + { + $srcdata += $size; + } + else { + $data += $size; + } } } }