File tree 1 file changed +2
-13
lines changed
1 file changed +2
-13
lines changed Original file line number Diff line number Diff line change @@ -161,17 +161,6 @@ impl ImageHandler {
161
161
& input_images
162
162
) ;
163
163
let input_len = input_images. len ( ) ;
164
- /*
165
- Yes I'm stupid and I need to visualise this
166
- e.g. max columns = 4
167
- and input_len = 10
168
- 0 1 2 3
169
- 4 5 6 7
170
- 8 9
171
- So we've got 4 columns obviously
172
- and 3 rows
173
- */
174
-
175
164
let ( input_width, input_height) = PngHelper :: get_size ( & input_images[ 0 ] ) ;
176
165
let max_columns = max_columns as usize ;
177
166
let merged_width: usize = max_columns * input_width as usize * output_scale as usize ;
@@ -237,7 +226,7 @@ impl ImageHandler {
237
226
)
238
227
} else {
239
228
// this will never happen
240
- panic ! ( "What the fuck " )
229
+ panic ! ( "If this happened you should probably play lottery " )
241
230
}
242
231
} else {
243
232
let pal: PngPalette = palette. clone ( ) . into ( ) ;
@@ -266,7 +255,7 @@ impl ImageHandler {
266
255
) ;
267
256
} else {
268
257
// this will never happen
269
- panic ! ( "What the fuck " )
258
+ panic ! ( "If this happened you should probably play lottery " )
270
259
}
271
260
}
272
261
}
You can’t perform that action at this time.
0 commit comments