]> khamidou — GitHub mirrors - electron.git/commitdiff
fix typo in "rotation" string
authorLuke Westby <lwestby@alumni.nd.edu>
Sun, 29 Nov 2015 18:22:53 +0000 (12:22 -0600)
committerLuke Westby <lwestby@alumni.nd.edu>
Sun, 29 Nov 2015 18:22:53 +0000 (12:22 -0600)
atom/browser/api/atom_api_screen.cc

index b73bda9ced843f88040e992491a98907c9197215..407a71f0cc4134a0eeaabfd69e3240e0cee83367 100644 (file)
@@ -41,7 +41,7 @@ std::vector<std::string> MetricsToArray(uint32_t metrics) {
   if (metrics & gfx::DisplayObserver::DISPLAY_METRIC_DEVICE_SCALE_FACTOR)
     array.push_back("scaleFactor");
   if (metrics & gfx::DisplayObserver::DISPLAY_METRIC_ROTATION)
-    array.push_back("rotaion");
+    array.push_back("rotation");
   return array;
 }