[vlc-commits] macosx: Fix logical error in VLCHUDTextFieldCell

Marvin Scholz git at videolan.org
Mon Dec 5 13:59:18 CET 2016


vlc | branch: master | Marvin Scholz <epirat07 at gmail.com> | Mon Dec  5 13:58:46 2016 +0100| [95988232008780978950de68b2795a1ea3c063a1] | committer: Marvin Scholz

macosx: Fix logical error in VLCHUDTextFieldCell

This does not make much difference as setting bezeled to NO
enables bordered anyway, but this could be confusing as it
would not really make sense according to the comment above
that code.

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=95988232008780978950de68b2795a1ea3c063a1
---

 modules/gui/macosx/VLCHUDTextFieldCell.m | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/modules/gui/macosx/VLCHUDTextFieldCell.m b/modules/gui/macosx/VLCHUDTextFieldCell.m
index 4f1460d..55ddef5 100644
--- a/modules/gui/macosx/VLCHUDTextFieldCell.m
+++ b/modules/gui/macosx/VLCHUDTextFieldCell.m
@@ -85,7 +85,7 @@
         [self setBezeled:YES];
         [self setDrawsBackground:NO];
     } else {
-        [self setBordered:NO];
+        [self setBordered:YES];
         [self setBezeled:NO];
         [self setDrawsBackground:NO];
     }



More information about the vlc-commits mailing list