Skip to content

Commit f7e28e5

Browse files
committed
Further docs clarification
1 parent 6660d4e commit f7e28e5

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

site/source/docs/api_reference/html5.h.rst

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -927,9 +927,9 @@ Defines
927927
Emscripten `orientationchange <https://w3c.github.io/screen-orientation/>`_ event.
928928
929929
930-
.. c:macro:: EMSCRIPTEN_ORIENTATION_UNSUPPORTED
930+
.. c:macro:: EMSCRIPTEN_ORIENTATION_UNKNOWN
931931
932-
The orientation API is not supported.
932+
Either the orientation API is not supported or the orientation type is not known.
933933
934934
.. c:macro:: EMSCRIPTEN_ORIENTATION_PORTRAIT_PRIMARY
935935
@@ -958,7 +958,7 @@ Struct
958958
959959
.. c:member:: int orientationIndex
960960
961-
One of the :c:type:`EM_ORIENTATION_PORTRAIT_xxx <EMSCRIPTEN_ORIENTATION_PORTRAIT_PRIMARY>` fields, or -1 if unknown.
961+
One of the :c:type:`EM_ORIENTATION_PORTRAIT_xxx <EMSCRIPTEN_ORIENTATION_PORTRAIT_PRIMARY>` fields, or :c:type:`EMSCRIPTEN_ORIENTATION_UNKNOWN` if unknown.
962962
963963
.. c:member:: int orientationAngle
964964

0 commit comments

Comments
 (0)