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

bug fix

parent 4299144d
No related branches found
No related tags found
No related merge requests found
...@@ -95,8 +95,8 @@ function writegitinfoheader() ...@@ -95,8 +95,8 @@ function writegitinfoheader()
fprintf(fd, '#ifndef SCDALGOINFO\n'); fprintf(fd, '#ifndef SCDALGOINFO\n');
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(descstr)) '\n']);
fprintf(fd, ['#define ALGOINFOMAXLEN ' num2str(descstr) '\n']); fprintf(fd, ['#define ALGOINFOMAXLEN ' num2str(maxdesclen) '\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