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
@@ -1065,9 +1065,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: