Skip to content

Commit

Permalink
snprintf() snippet incorrectly inserts sprintf() body
Browse files Browse the repository at this point in the history
  • Loading branch information
RyanHope97 authored Dec 28, 2023
1 parent 53d3df2 commit 70c8600
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion snippets/c/c.json
Original file line number Diff line number Diff line change
Expand Up @@ -296,7 +296,7 @@
},
"snprintf": {
"prefix": "snprintf",
"body": ["sprintf(${1:buf}, ${2:max}, \"${3:%s}\\n\"$3)$0"],
"body": ["snprintf(${1:buf}, ${2:max}, \"${3:%s}\\n\"$3)$0"],
"description": "snprintf() snippet"
},
"scanf": {
Expand Down

0 comments on commit 70c8600

Please sign in to comment.