Browse files

replaced x11 with cairo

  • Loading branch information...
1 parent 51a428e commit 0f148b929220eca6d462e37239e0513ce2d737d1 @rdulepet committed Jun 26, 2010
Showing with 1 addition and 1 deletion.
  1. +1 −1 instrument_developer_script.rb
View
2 instrument_developer_script.rb
@@ -75,7 +75,7 @@ def self.instrument_code orig_r_script
curr_caption = amatch[2] if amatch[2] != nil and amatch[2] != ""
some_r_code_found = amatch[3] if amatch[3] != nil and amatch[3] != ""
- arr_instrumented[arr_instrumented.length] = "\npng(file.path(getwd(),\"#{curr_random_uuid}.png\"))\n"
+ arr_instrumented[arr_instrumented.length] = "\npng(filename = file.path(getwd(),\"#{curr_random_uuid}.png\"),type = \"cairo\")\n"
if some_r_code_found != nil and some_r_code_found != ""
arr_instrumented[arr_instrumented.length] = some_r_code_found.gsub(/#{CRDATA_IMAGE_END_ALT}/,"")
# now see if we found END tag also, if so then insert image end instrumentation

0 comments on commit 0f148b9

Please sign in to comment.