Skip to content
Snippets Groups Projects
Commit 4299144d authored by Cristian Galperti's avatar Cristian Galperti
Browse files

writegitheader bug fixed

parent 44e02df7
No related branches found
No related tags found
No related merge requests found
...@@ -96,7 +96,7 @@ function writegitinfoheader() ...@@ -96,7 +96,7 @@ function writegitinfoheader()
fprintf(fd, '#define SCDALGOINFO\n'); fprintf(fd, '#define SCDALGOINFO\n');
fprintf(fd, ['#define ALGOINFOSTR "' descstr(1:end-1) '"\n']); fprintf(fd, ['#define ALGOINFOSTR "' descstr(1:end-1) '"\n']);
fprintf(fd, ['#define ALGOINFOLEN ' num2str(numel(result)) '\n']); fprintf(fd, ['#define ALGOINFOLEN ' num2str(numel(result)) '\n']);
fprintf(fd, ['#define ALGOINFOMAXLEN ' num2str(maxdesclen) '\n']); fprintf(fd, ['#define ALGOINFOMAXLEN ' num2str(descstr) '\n']);
fprintf(fd, '\n'); fprintf(fd, '\n');
fprintf(fd, 'struct algoinfo {\n'); fprintf(fd, 'struct algoinfo {\n');
fprintf(fd, ' char text[ALGOINFOMAXLEN];\n'); fprintf(fd, ' char text[ALGOINFOMAXLEN];\n');
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment