summaryrefslogtreecommitdiffhomepage
path: root/docs/csmap_api.md
diff options
context:
space:
mode:
authorTyge Løvset <[email protected]>2021-01-17 13:00:29 +0100
committerTyge Løvset <[email protected]>2021-01-17 13:00:29 +0100
commit19aa4243bbf59cecb348541495b9e7abe04777ef (patch)
tree29818485fc8040f4ef1dd4884d6b0d82ef2cedb7 /docs/csmap_api.md
parent6c85448dcc380c39f92e6271989eb150c4d21b37 (diff)
downloadSTC-modified-19aa4243bbf59cecb348541495b9e7abe04777ef.tar.gz
STC-modified-19aa4243bbf59cecb348541495b9e7abe04777ef.zip
Corrected output of csmap csset examples.
Diffstat (limited to 'docs/csmap_api.md')
-rw-r--r--docs/csmap_api.md14
1 files changed, 7 insertions, 7 deletions
diff --git a/docs/csmap_api.md b/docs/csmap_api.md
index d4406978..dbb71fc7 100644
--- a/docs/csmap_api.md
+++ b/docs/csmap_api.md
@@ -129,9 +129,9 @@ int main()
```
Output:
```
-Key:[RED] Value:[#FF0000]
-Key:[GREEN] Value:[#00FF00]
Key:[BLUE] Value:[#0000FF]
+Key:[GREEN] Value:[#00FF00]
+Key:[RED] Value:[#FF0000]
The HEX of color RED is:[#FF0000]
The HEX of color BLACK is:[#000000]
```
@@ -207,10 +207,10 @@ int main()
```
Output:
```c
-{ 100, 0, 0 }: 1
{ 0, 0, 100 }: 3
-{ 100, 100, 100 }: 4
{ 0, 100, 0 }: 2
+{ 100, 0, 0 }: 1
+{ 100, 100, 100 }: 4
```
### Example 4
@@ -238,8 +238,8 @@ int main()
```
Output:
```c
-4: { 100, 100, 100 }
-3: { 0, 0, 100 }
-2: { 0, 100, 0 }
1: { 100, 0, 0 }
+2: { 0, 100, 0 }
+3: { 0, 0, 100 }
+4: { 100, 100, 100 }
```