summaryrefslogtreecommitdiff
path: root/ruby_1_8_6/ext/tk/lib/tkextlib/bwidget/selectfont.rb
diff options
context:
space:
mode:
authorMatt Valentine-House <matt@eightbitraptor.com>2024-06-11 14:06:51 +0100
committerMatt Valentine-House <matt@eightbitraptor.com>2024-06-12 13:54:20 +0100
commit1db19a2dbd7a8b981b2611359b6bf4547ea678f5 (patch)
treef433be255e3421ef2a1d4412d6b3e40deb6c86e6 /ruby_1_8_6/ext/tk/lib/tkextlib/bwidget/selectfont.rb
parent6b6fd16219880f47d807e5c6970cf204b265bda9 (diff)
Remove unneeded loop through size_poolsHEADmaster
This function loops twice through the array of size pools. Once to set up the pages list, and then again later on in the function to set the allocatable_pages count. We don't do anything with the size pools in between the invocation of these loops that will affect the size pools, so this commit removes the second loop and moves the allocatable_pages count update into the first loop.
Diffstat (limited to 'ruby_1_8_6/ext/tk/lib/tkextlib/bwidget/selectfont.rb')
0 files changed, 0 insertions, 0 deletions