summaryrefslogtreecommitdiffstats
path: root/video/out/cocoa_common.m
diff options
context:
space:
mode:
Diffstat (limited to 'video/out/cocoa_common.m')
-rw-r--r--video/out/cocoa_common.m4
1 files changed, 2 insertions, 2 deletions
diff --git a/video/out/cocoa_common.m b/video/out/cocoa_common.m
index 09637c41a5..aa486fb461 100644
--- a/video/out/cocoa_common.m
+++ b/video/out/cocoa_common.m
@@ -80,7 +80,7 @@ struct vo_cocoa_state {
bool window_is_dragged;
id event_monitor_mouseup;
- bool embedded; // wether we are embedding in another GUI
+ bool embedded; // whether we are embedding in another GUI
IOPMAssertionID power_mgmt_assertion;
io_connect_t light_sensor;
@@ -185,7 +185,7 @@ static void set_application_icon(NSApplication *app)
static int lmuvalue_to_lux(uint64_t v)
{
- // the polinomial approximation for apple lmu value -> lux was empirically
+ // the polynomial approximation for apple lmu value -> lux was empirically
// derived by firefox developers (Apple provides no documentation).
// https://bugzilla.mozilla.org/show_bug.cgi?id=793728
double power_c4 = 1/pow((double)10,27);