Skip to content

Commit

Permalink
Merge pull request #506 from yast/fix/1161842
Browse files Browse the repository at this point in the history
Avoid crashing when changing the language and keyboard layout
  • Loading branch information
dgdavid committed Feb 19, 2020
2 parents a545bfd + cfa6342 commit 736ab82
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 1 deletion.
7 changes: 7 additions & 0 deletions package/yast2-packager.changes
Original file line number Diff line number Diff line change
@@ -1,3 +1,10 @@
-------------------------------------------------------------------
Tue Feb 18 15:47:45 UTC 2020 - David Diaz <dgonzalez@suse.com>

- Avoid crashing when changing a language and keyboard layout
(bsc#1161842).
- 4.2.50

-------------------------------------------------------------------
Wed Feb 5 15:36:54 UTC 2020 - Imobach Gonzalez Sosa <igonzalezsosa@suse.com>

Expand Down
2 changes: 1 addition & 1 deletion package/yast2-packager.spec
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@


Name: yast2-packager
Version: 4.2.49
Version: 4.2.50
Release: 0
Summary: YaST2 - Package Library
License: GPL-2.0-or-later
Expand Down
2 changes: 2 additions & 0 deletions src/modules/PackageSlideShow.rb
Original file line number Diff line number Diff line change
Expand Up @@ -417,6 +417,8 @@ def FindNextMedia
while @next_src_no < @remaining_sizes_per_cd_per_src.size
remaining_sizes = @remaining_sizes_per_cd_per_src[@next_src_no]

break if remaining_sizes.nil?

while @next_cd_no < remaining_sizes.size
return if remaining_sizes[@next_cd_no] > 0

Expand Down

0 comments on commit 736ab82

Please sign in to comment.