Skip to content

Commit 3f1e15b

Browse files
committed
Fix isize height, should default to 3/4 not 4/3 of width.
1 parent 817f6c7 commit 3f1e15b

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ cmake_minimum_required(VERSION 3.12)
88
set(XV_VERSION_MAJOR 6)
99
set(XV_VERSION_MINOR 0)
1010
set(XV_VERSION_PATCH 2)
11-
set(XV_VERSION_DATE "20241009")
11+
set(XV_VERSION_DATE "20241015")
1212

1313
# Generate the project version.
1414
set(XV_VERSION "${XV_VERSION_MAJOR}.${XV_VERSION_MINOR}.${XV_VERSION_PATCH}")

NEWS.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
1-
6.0.2 (2024-10-09)
1+
6.0.2 (2024-10-15)
22
==================
33

44
* Added -isize option to control the icon size in the browser.
55
The syntax is -isize <width> or -isize <width>x<height>
6-
If the height is omitted, it defaults to the width * 4/3.
6+
If the height is omitted, it defaults to the width * 3/4.
77

88
* xv now checks the XV_OPTIONS environment variable before reading the
99
command line. xv splits it into words and parses it like command line

src/xv.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1737,7 +1737,7 @@ static void parseCmdLine(int argc, char **argv, int allow_file_names)
17371737
}
17381738
isize_high = parse_h;
17391739
}
1740-
if (isize_high == 0) isize_high = (isize_wide * 4) / 3;
1740+
if (isize_high == 0) isize_high = (isize_wide * 3) / 4;
17411741
}
17421742
}
17431743
}

0 commit comments

Comments
 (0)