403Webshell
Server IP : 82.208.35.60  /  Your IP : 216.73.217.116
Web Server : Apache/2.4.55 (FreeBSD) OpenSSL/1.1.1q-freebsd PHP/7.3.31
System : FreeBSD server7.d2m.cz 12.4-RELEASE-p9 FreeBSD 12.4-RELEASE-p9 GENERIC amd64
User : studiokobylisy_cz ( 1008)
PHP Version : 7.3.31
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : OFF  |  Perl : OFF  |  Python : OFF  |  Sudo : OFF  |  Pkexec : OFF
Directory :  /usr/ports/editors/fxite/files/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /usr/ports/editors/fxite/files/patch-src_outpane.cpp
--- src/outpane.cpp.orig	2013-10-03 09:22:51 UTC
+++ src/outpane.cpp
@@ -115,7 +115,12 @@ void OutputList::GoToError()
           FXint begs[4]={0,0,0,0};
           FXint ends[4]={0,0,0,0};
           FXRex rx(pats[i].pat, REX_CAPTURE);
-          if (rx.match(txt,begs,ends,REX_FORWARD,3)) {
+#ifdef FOX_1_7_50_OR_NEWER
+          if (rx.search(txt,0,txt.length(),FXRex::Normal,begs,ends,3)>=0)
+#else
+          if (rx.match(txt,begs,ends,REX_FORWARD,3))
+#endif
+          {
             FXString filename = txt.mid(begs[1],ends[1]-begs[1]);
             FXString linenum =  txt.mid(begs[2],ends[2]-begs[2]);
             if (FXStat::isFile(filename)) {
@@ -228,7 +233,11 @@ void OutputList::SelectFirstError()
   FXRex rx(_(": [Ee]rror: "));
   for (FXint i=0; i<getNumItems(); i++) {
     FXListItem *item=getItem(i);
+#ifdef FOX_1_7_50_OR_NEWER
+    if (rx.search(item->getText(),0,item->getText().length())>=0) {
+#else
     if (rx.match(item->getText())) {
+#endif
       selectItem(i);
       setCurrentItem(i);
       makeItemVisible(i);

Youez - 2016 - github.com/yon3zu
LinuXploit