浏览代码

frang cant spell vertical

cxgeorge 24 年之前
父节点
当前提交
b7857c9a34
共有 2 个文件被更改,包括 4 次插入4 次删除
  1. 2 2
      panda/src/chancfg/chancfg.cxx
  2. 2 2
      panda/src/chancfg/layout_db

+ 2 - 2
panda/src/chancfg/chancfg.cxx

@@ -366,13 +366,13 @@ ChanConfig::ChanConfig(GraphicsPipe* pipe, std::string cfg, Node *render,
       sizeX = W.getSizeX();
       sizeY = W.getSizeY();
     } else {
-      // verticle size is defined, compute horizontal keeping the aspect from
+      // vertical size is defined, compute horizontal keeping the aspect from
       // the default
       sizeX = (W.getSizeX() * sizeY) / W.getSizeY();
     }
   }
   if (sizeY < 0) {
-    // horizontal size is defined, compute verticle keeping the aspect from the
+    // horizontal size is defined, compute vertical keeping the aspect from the
     // default
     sizeY = (W.getSizeY() * sizeX) / W.getSizeX();
   }

+ 2 - 2
panda/src/chancfg/layout_db

@@ -27,7 +27,7 @@
 ;;;    * There may be an arbitrary number of region specs, though regions are
 ;;;      not allowed to overlap.  If they do, this will be detected and an
 ;;;      error will be thrown.
-;;;    * 'm' is horizontal, 'n' is verticle
+;;;    * 'm' is horizontal, 'n' is vertical
 ;;;
 ;;; The format for a region spec is:
 ;;;      m x n  lower
@@ -37,7 +37,7 @@
 ;;;    * 'Lower left' is the cell index of the lower left corner of the region.
 ;;;    * Cell indexes are 0-based, and start in the lower left corner of the
 ;;;      parent region/window.
-;;;    * 'm' is horizontal, 'n' is verticle
+;;;    * 'm' is horizontal, 'n' is vertical
 ;;;.
 
 ;;;*Public