mirror of
https://github.com/kovidgoyal/kitty.git
synced 2026-08-04 06:36:24 +00:00
Remove unused code
This commit is contained in:
parent
1086757dc0
commit
05881db492
1 changed files with 0 additions and 3 deletions
|
|
@ -182,9 +182,6 @@ func main(cmd *cli.Command, o *Options, args []string) (rc int, err error) {
|
|||
return 1, fmt.Errorf("Invalid size specification: %s with error: %w", opts.UseWindowSize, err)
|
||||
}
|
||||
screen_size.Ypixel = uint16(t)
|
||||
if screen_size.Xpixel == 0 || screen_size.Ypixel == 0 {
|
||||
return 1, fmt.Errorf("zero is not allowed for screen pixel size")
|
||||
}
|
||||
}
|
||||
|
||||
if opts.PrintWindowSize {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue