Fixes and TODOs in rc2bin. Going to manually adjust out instead of regenerating it, though.
This commit is contained in:
parent
c6979fa738
commit
b975cfb83e
|
@ -4,6 +4,8 @@
|
||||||
#include <stdlib.h>
|
#include <stdlib.h>
|
||||||
#include "resources.hpp"
|
#include "resources.hpp"
|
||||||
|
|
||||||
|
// TODO make sure there are no CRs in the output
|
||||||
|
|
||||||
void die(const char *f, const char *constname)
|
void die(const char *f, const char *constname)
|
||||||
{
|
{
|
||||||
DWORD le;
|
DWORD le;
|
||||||
|
@ -42,7 +44,7 @@ void dumpResource(const char *constname, const WCHAR *name, const WCHAR *type)
|
||||||
printf("\t");
|
printf("\t");
|
||||||
printf("0x%02I32X,", (uint32_t) (*bp));
|
printf("0x%02I32X,", (uint32_t) (*bp));
|
||||||
bp++;
|
bp++;
|
||||||
if (j == 15) {
|
if (j == 7) {
|
||||||
printf("\n");
|
printf("\n");
|
||||||
j = 0;
|
j = 0;
|
||||||
} else {
|
} else {
|
||||||
|
|
Loading…
Reference in New Issue