Skip to content

Commit b21a6c2

Browse files
author
Pavel Roslovets
committed
Fix identation
1 parent 6c44724 commit b21a6c2

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

savejson.m

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -200,16 +200,16 @@
200200
filename=jsonopt('FileName','',opt);
201201
if(~isempty(filename))
202202
if(jsonopt('SaveBinary',0,opt)==1)
203-
fid = fopen(filename, 'wb');
204-
fwrite(fid,json);
203+
fid = fopen(filename, 'wb');
204+
fwrite(fid,json);
205205
else
206-
encoding = jsonopt('Encoding','',opt);
206+
encoding = jsonopt('Encoding','',opt);
207207
if(isempty(encoding))
208208
fid = fopen(filename,'wt');
209209
else
210210
fid = fopen(filename,'wt','n',encoding);
211211
end
212-
fwrite(fid,json,'char');
212+
fwrite(fid,json,'char');
213213
end
214214
fclose(fid);
215215
end

0 commit comments

Comments
 (0)