Hi,

I bumped into a bug when trying to annotate an EPD file with a UCI
engine.  The following patch adds the missing argument to get this
probably not too often used feature working:


diff --git tcl/file/epd.tcl tcl/file/epd.tcl
index c697548..70efff8 100644
--- tcl/file/epd.tcl
+++ tcl/file/epd.tcl
@@ -389,7 +389,7 @@
   if { $analysis(uci1) } {
       $textwidget insert insert "pv "
       set moves [::uci::formatPv $analysis(moves1) $analysis(fen1)]
-      $textwidget insert insert [addMoveNumbers [::trans $moves]]
+      $textwidget insert insert [addMoveNumbers 1 [::trans $moves]]
       $textwidget insert insert "\n"
   } else {
       $textwidget insert insert "pv $analysis(moves1)\n"


I'm using the Eclipse IDE with EGit plug-ins to access the Git
repository.  Above is what it generates for patches by default.  Though
this one is simple enough to fix without actually applying the patch,
I'm curious if this format is acceptable or if something else is
preferred.

Cheers,
Larry Isaacs



------------------------------------------------------------------------------
EditLive Enterprise is the world's most technically advanced content
authoring tool. Experience the power of Track Changes, Inline Image
Editing and ensure content is compliant with Accessibility Checking.
http://p.sf.net/sfu/ephox-dev2dev
_______________________________________________
Scid-users mailing list
Scid-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/scid-users

Reply via email to