[1/2] geoip-functions.pl: Fix typos and formatting
Commit Message
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
---
config/cfgroot/geoip-functions.pl | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
Comments
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
Reviewed-by: Peter Müller <peter.mueller@link38.eu>
---
config/cfgroot/geoip-functions.pl | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/config/cfgroot/geoip-functions.pl b/config/cfgroot/geoip-functions.pl
index fc2dfdd34..623169eaf 100644
--- a/config/cfgroot/geoip-functions.pl
+++ b/config/cfgroot/geoip-functions.pl
@@ -63,10 +63,10 @@ sub get_flag_icon($) {
# the icon for "unknown".
my $ccode = "unknown";
- # Redoing all the stuff from abouve for the "unknown" icon.
- my $file = join('.', $ccode,$ext);
- my $flag_icon = join('/', $flagdir,$file);
- my $absolute_path = join('', $webroot,$flag_icon);
+ # Redoing all the stuff from above for the "unknown" icon.
+ my $file = join('.', $ccode, $ext);
+ my $flag_icon = join('/', $flagdir, $file);
+ my $absolute_path = join('', $webroot, $flag_icon);
# Check if the icon is present.
if (-e "$absolute_path") {
@@ -63,10 +63,10 @@ sub get_flag_icon($) {
# the icon for "unknown".
my $ccode = "unknown";
- # Redoing all the stuff from abouve for the "unknown" icon.
- my $file = join('.', $ccode,$ext);
- my $flag_icon = join('/', $flagdir,$file);
- my $absolute_path = join('', $webroot,$flag_icon);
+ # Redoing all the stuff from above for the "unknown" icon.
+ my $file = join('.', $ccode, $ext);
+ my $flag_icon = join('/', $flagdir, $file);
+ my $absolute_path = join('', $webroot, $flag_icon);
# Check if the icon is present.
if (-e "$absolute_path") {