prevent crash in crop_image function

This commit is contained in:
GenevensiS
2026-01-19 17:21:42 +01:00
parent ef835e6f46
commit ab4d79a686
14 changed files with 58 additions and 14 deletions
+5 -1
View File
@@ -1067,9 +1067,13 @@ error:
coordinates for blending overlap: 坐标混合重叠
images used for blending must have the same size: 边框用图像必须使用相同大小
#TODO: Localize
no card fields: Game '%s' does not have any card fields. Define at least one card field.
negative image width: Image with zero or negative width created in function '%s'
#TODO: Localize
negative image height: Image with zero or negative height created in function '%s'
# error from files
#TODO: Localize
no card fields: Game '%s' does not have any card fields. Define at least one card field.
no game specified: 没有为 %s 指定游戏类型
no stylesheet specified for the set: 没有为套牌制定样式表
stylesheet and set refer to different game: