Ticket #11787: 0001-Fix-11787.-Antialiasing-Revert-button-works-as-expec.patch

File 0001-Fix-11787.-Antialiasing-Revert-button-works-as-expec.patch, 1.4 KB (added by Janus, 5 years ago)
  • src/preferences/appearance/AntialiasingSettingsView.cpp

    From 409678b6fa4605aba6ab6bf731f6bf7738bd7284 Mon Sep 17 00:00:00 2001
    From: Janus <janus2@ymail.com>
    Date: Sun, 25 Jan 2015 11:11:10 +0000
    Subject: [PATCH] Fix #11787. Antialiasing Revert button works as expected
    
    ---
     src/preferences/appearance/AntialiasingSettingsView.cpp | 3 ---
     1 file changed, 3 deletions(-)
    
    diff --git a/src/preferences/appearance/AntialiasingSettingsView.cpp b/src/preferences/appearance/AntialiasingSettingsView.cpp
    index c184957..ab11ac9 100644
    a b AntialiasingSettingsView::MessageReceived(BMessage *msg)  
    194194                || subpixelAntialiasing == fCurrentSubpixelAntialiasing)
    195195                break;
    196196
    197             fSavedSubpixelAntialiasing = fCurrentSubpixelAntialiasing;
    198197            fCurrentSubpixelAntialiasing = subpixelAntialiasing;
    199198            fAverageWeightControl->SetEnabled(fCurrentSubpixelAntialiasing);
    200199
    AntialiasingSettingsView::MessageReceived(BMessage *msg)  
    210209                || hinting == fCurrentHinting)
    211210                break;
    212211
    213             fSavedHinting = fCurrentHinting;
    214212            fCurrentHinting = hinting;
    215213            set_hinting_mode(fCurrentHinting);
    216214
    AntialiasingSettingsView::MessageReceived(BMessage *msg)  
    223221            if (averageWeight == fCurrentAverageWeight)
    224222                break;
    225223
    226             fSavedAverageWeight = fCurrentAverageWeight;
    227224            fCurrentAverageWeight = averageWeight;
    228225
    229226            set_average_weight(fCurrentAverageWeight);