Skip to content

Use more effective compile flags #18

Merged
merged 2 commits into from
Feb 7, 2019
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
Prev Previous commit
xdu.c: Fixes need to compile xdu.c with -O2
I've choosen 'n/a' as initial string, because this clearly isn't
a filename.
thomas committed Jan 25, 2019
commit b5fda28b57de6790db8b5edb62d5db9b1eba3e2b
4 changes: 2 additions & 2 deletions xdu.c
Original file line number Diff line number Diff line change
@@ -999,7 +999,7 @@ void savepschildren(FILE* fp, struct node* nodep, struct rect rect, int showsize
height,
top;
struct node* np;
char *name,
char *name="n/a",
label[1024];
struct rect subrect;

@@ -1148,7 +1148,7 @@ void fprintsvgnode(FILE* fp, struct rect rect)
void fprintsvgnodetext(FILE* fp, int x, int y, long long size, char* name, int showsize)
{
char buffer[1024],
*text;
*text="n/a";

switch (showsize) {
case 0: