summaryrefslogtreecommitdiffhomepage
path: root/examples/astar.c
diff options
context:
space:
mode:
authorTyge Løvset <[email protected]>2022-12-20 12:17:32 +0100
committerTyge Løvset <[email protected]>2022-12-20 12:17:32 +0100
commit1778629d92849af84239c4b8c1940ed76fd87b8a (patch)
treecbe600a280aee2405836c66413e234de071bb231 /examples/astar.c
parent21817cae767d72e6007150b639f9365e35502173 (diff)
downloadSTC-modified-1778629d92849af84239c4b8c1940ed76fd87b8a.tar.gz
STC-modified-1778629d92849af84239c4b8c1940ed76fd87b8a.zip
Renamed (reverted) cstr_new(lit) => cstr_lit(lit). Old name is deprecated (supported for now).
Diffstat (limited to 'examples/astar.c')
-rw-r--r--examples/astar.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/astar.c b/examples/astar.c
index 4d9f2469..d4a821f9 100644
--- a/examples/astar.c
+++ b/examples/astar.c
@@ -131,7 +131,7 @@ astar(cstr* maze, int width)
int
main(void)
{
- c_with (cstr maze = cstr_new(
+ c_with (cstr maze = cstr_lit(
"#########################################################################\n"
"# # # # # # #\n"
"# # ######### # ##### ######### ##### ##### ##### # ! #\n"