From db05de4513a719b9039a7671647cc36085d4d676 Mon Sep 17 00:00:00 2001 From: pancake Date: Sat, 14 Jun 2014 03:53:35 +0200 Subject: [PATCH] Add orange-gray theme (ogray). Move doc/r2theme to shlr/www/enyo/colors --- libr/cons/d/ogray | 30 +++++++++++++++++++ libr/util/print.c | 2 +- .../www/enyo/colors/index.html | 0 3 files changed, 31 insertions(+), 1 deletion(-) create mode 100644 libr/cons/d/ogray rename doc/r2theme.html => shlr/www/enyo/colors/index.html (100%) diff --git a/libr/cons/d/ogray b/libr/cons/d/ogray new file mode 100644 index 0000000000..cdc85c99f7 --- /dev/null +++ b/libr/cons/d/ogray @@ -0,0 +1,30 @@ +ec comment rgb:f72 +ec fname rgb:f72 +ec fline rgb:f72 +ec flag rgb:557 +ec label rgb:f72 +ec flow rgb:f72 +ec prompt rgb:f72 +ec offset rgb:555 +ec input rgb:f72 +ec other rgb:999 +ec b0x00 rgb:ccc +ec b0x7f rgb:777 +ec b0xff rgb:333 +ec math rgb:777 +ec bin rgb:fff +ec btext rgb:fff +ec push rgb:ddd +ec pop rgb:999 +ec jmp rgb:f72 +ec cjmp rgb:f72 +ec call rgb:f72 +ec nop rgb:333 +ec ret rgb:777 +ec trap rgb:f72 +ec swi rgb:f72 +ec cmp rgb:aaa +ec reg rgb:fff +ec creg rgb:999 +ec num rgb:f72 +ec mov rgb:777 diff --git a/libr/util/print.c b/libr/util/print.c index 3db4c3e071..8da2daf5b7 100644 --- a/libr/util/print.c +++ b/libr/util/print.c @@ -270,7 +270,7 @@ R_API void r_print_code(RPrint *p, ut64 addr, ut8 *buf, int len, char lang) { out[0] = 0; r_base64_encode (out, buf, len); p->printf ("%s", out); - p->printf ("\", 'base64').toString('binary');\n"); + p->printf ("\", 'base64');\n"); free (out); } break; diff --git a/doc/r2theme.html b/shlr/www/enyo/colors/index.html similarity index 100% rename from doc/r2theme.html rename to shlr/www/enyo/colors/index.html