Skip to content

Commit

Permalink
fix array library
Browse files Browse the repository at this point in the history
  • Loading branch information
sulincix committed Oct 17, 2023
1 parent 5d9fec7 commit cb173c6
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/util/array.vala
Original file line number Diff line number Diff line change
Expand Up @@ -104,6 +104,9 @@ public class array {
//DOC: `string[] get ():`
//DOC: return as string array
public string[] get () {
if (a == null){
return {};
}
if (rmsize == 0) {
return a;
}else {
Expand Down

0 comments on commit cb173c6

Please sign in to comment.