Fossil SCM

follow-up to [e22fca9640|Hex adjustment checkin]; an image -is- a binary file already - no need to display a "Hex" link for it explicitly (already done).

bch 2010-12-30 01:29 trunk
Commit fab89453c50ecfa409ba15b75534fb6b7a7218e4
1 file changed -1
-1
--- src/info.c
+++ src/info.c
@@ -1167,11 +1167,10 @@
11671167
@ <pre>
11681168
@ %h(blob_str(&content))
11691169
@ </pre>
11701170
}else if( strncmp(zMime, "image/", 6)==0 ){
11711171
@ <img src="%s(g.zTop)/raw?name=%s(zUuid)&amp;m=%s(zMime)"></img>
1172
- style_submenu_element("Hex","Hex", "%s/hexdump?name=%s", g.zTop, zUuid);
11731172
}else{
11741173
@ <i>(file is %d(blob_size(&content)) bytes of binary data)</i>
11751174
}
11761175
@ </blockquote>
11771176
}
11781177
--- src/info.c
+++ src/info.c
@@ -1167,11 +1167,10 @@
1167 @ <pre>
1168 @ %h(blob_str(&content))
1169 @ </pre>
1170 }else if( strncmp(zMime, "image/", 6)==0 ){
1171 @ <img src="%s(g.zTop)/raw?name=%s(zUuid)&amp;m=%s(zMime)"></img>
1172 style_submenu_element("Hex","Hex", "%s/hexdump?name=%s", g.zTop, zUuid);
1173 }else{
1174 @ <i>(file is %d(blob_size(&content)) bytes of binary data)</i>
1175 }
1176 @ </blockquote>
1177 }
1178
--- src/info.c
+++ src/info.c
@@ -1167,11 +1167,10 @@
1167 @ <pre>
1168 @ %h(blob_str(&content))
1169 @ </pre>
1170 }else if( strncmp(zMime, "image/", 6)==0 ){
1171 @ <img src="%s(g.zTop)/raw?name=%s(zUuid)&amp;m=%s(zMime)"></img>
 
1172 }else{
1173 @ <i>(file is %d(blob_size(&content)) bytes of binary data)</i>
1174 }
1175 @ </blockquote>
1176 }
1177

Keyboard Shortcuts

Open search /
Next entry (timeline) j
Previous entry (timeline) k
Open focused entry Enter
Show this help ?
Toggle theme Top nav button