[MPlayer-dev-eng] [PATCH] Improvement to help/help_diff.sh

Diego Biurrun diego at biurrun.de
Tue Mar 1 06:38:06 CET 2005


Torinthiel writes:
> A recent commit has revealed to me a small issue with help/help_diff.sh
> suppose one adds a line
> #define MSGTR_FOO "Sometext"
> to help/help_mp-en.h masterfile
> help_diff.sh is supposed to add this line to help_mp.h until someone
> syncs the translation, to make sure everything is defined properly.
> Unfortunatelly it fails to do so if the translation contains the line
> #define MSGTR_FOO2 "Sometekst"
> as it searches for '#define MSGTR_FOO' pattern and the second line
> matches this pattern. A small patch attached makes help_diff.sh match
> also space/tab terminating this pattern, fixing the issue.

Not to mention that it will fail to compile otherwise as it does
currently with e.g. ./configure --language=de.

Commit this!

Diego




More information about the MPlayer-dev-eng mailing list