Icon-O-Matic was missing the "[]" specifier when exporting a C array. Thanks

to mmu_man for pointing this out!


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@24485 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Stephan Aßmus 2008-03-20 09:47:55 +00:00
parent dd76bc97f5
commit af7303013f
1 changed files with 1 additions and 1 deletions

View File

@ -52,7 +52,7 @@ SourceExporter::_Export(const uint8* source, size_t sourceSize,
{
char buffer[2048];
// write header
sprintf(buffer, "\nconst unsigned char kIconName = {\n");
sprintf(buffer, "\nconst unsigned char kIconName[] = {\n");
size_t size = strlen(buffer);
ssize_t written = stream->Write(buffer, size);